diff --git a/dist/setup_cpp.js b/dist/setup_cpp.js index f4d12002..a796a865 100644 --- a/dist/setup_cpp.js +++ b/dist/setup_cpp.js @@ -1,2 +1,2 @@ -function e(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}function r(e,t,n){if("function"==typeof t&&(n=t,t={}),!n){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(((n,o)=>{r(e,t||{},((e,t)=>{e?o(e):n(t)}))}))}dt(e,t||{},((e,r)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,r=!1),n(e,r)}))}function n(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof gt)return{binDir:gt};const o=t(ct).sync("brew",{nothrow:!0});return null!==o?(gt=(0,at.dirname)(o),{binDir:gt}):((0,Ye.execFileSync)('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),gt="/usr/local/bin/",{binDir:gt})}function o(e,t){const r=e.options.env||process.env,n=process.cwd(),o=null!=e.options.cwd,s=o&&void 0!==process.chdir&&!process.chdir.disabled;if(s)try{process.chdir(e.options.cwd)}catch(e){}let i;try{i=ct.sync(e.command,{path:r[bt({env:r})],pathExt:t?Fe.delimiter:void 0})}catch(e){}finally{s&&process.chdir(n)}return i&&(i=Fe.resolve(o?e.options.cwd:"",i)),i}function s(e,t){return Object.assign(Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function i(e,t){return kt&&1===e&&!t.file?s(t.original,"spawn"):null}function a(e,t,r){const n=yt(e,t,r),o=Ye.spawn(n.command,n.args,n.options);return At.hookChildProcess(o,n),o}async function c(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,n=Rr(t);return await new Promise(((t,o)=>{const s=e=>{e&&n.getBufferedLength()<=Ar.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),o(e)};(async()=>{try{await Nr(e,n),t()}catch(e){s(e)}})(),n.on("data",(()=>{n.getBufferedLength()>r&&s(new Lr)}))})),n.getBufferedValue()}function l(){return(!!process.env.CI||0===(null===(e=process.getuid)||void 0===e?void 0:e.call(process)))&&null!==t(ct).sync("sudo",{nothrow:!0});var e}function u(e,r=[],n={stdio:"inherit",shell:!0}){return l()?t(xt).commandSync("sudo "+[e,...r].map((e=>`'${e}'`)).join(" "),n):t(xt).sync(e,r,n)}function d(e){return l()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?(0,Fe.join)("/Users/",process.env.SUDO_USER,e):(0,Fe.join)("/home/",process.env.SUDO_USER,e):t(an)("~/"+e)}function p(e,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return t(xt)((()=>{if(void 0===dn){const e=t(ct).sync("pwsh",{nothrow:!0});null!==e&&(dn=e);const r=t(ct).sync("powershell",{nothrow:!0});null!==r&&(dn=r)}if(void 0===dn)throw Error("Could not find powershell");return dn})(),[...r,"-c",e],n)}async function h(e,r,n=!1){const o=n?t(pn)(null!=r?r:""):r;try{if("github-actions"===t(cn)())try{(0,it.exportVariable)(e,o)}catch(t){(0,un.error)(t),await m(e,o)}else await m(e,o)}catch(t){(0,un.error)(t),(0,it.setFailed)(`Failed to export environment variable ${e}=${o}. You should add it manually.`)}}async function f(e){process.env.PATH=`${e}${at.delimiter}${process.env.PATH}`;try{if("github-actions"===t(cn)())try{(0,it.addPath)(e)}catch(t){(0,un.error)(t),await g(e)}else await g(e)}catch(t){(0,un.error)(t),(0,it.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`)}}async function m(e,t){const r=null!=t?t:"";switch(process.platform){case"win32":return await p(`[Environment]::SetEnvironmentVariable('${e}', '${r}', "User")`),void(0,it.info)(`${e}='${r}' was set in the environment.`);case"linux":case"darwin":return v(),(0,Be.appendFileSync)(gn,`\nexport ${e}="${r}"\n`),void(0,it.info)(`${e}="${r}" was added to "${gn}`)}process.env[e]=r}async function g(e){switch(process.platform){case"win32":return await p(`$USER_PATH=([Environment]::GetEnvironmentVariable("patha", "User")); [Environment]::SetEnvironmentVariable("patha", "${e};$USER_PATH", "User")`),void(0,it.info)(`"${e}" was added to the PATH.`);case"linux":case"darwin":return v(),(0,Be.appendFileSync)(gn,`\nexport PATH="${e}:$PATH"\n`),void(0,it.info)(`"${e}" was added to "${gn}"`);default:return}}function v(){if(vn)return;const e="export SOURCE_CPPRC=0";if((0,Be.existsSync)(gn)&&(0,Be.readFileSync)(gn,"utf8").includes(e))return;(0,Be.appendFileSync)(gn,`\n${e}\n`),(0,it.info)(`Added ${e} to ${gn}`);const t=`\n# source .cpprc if SOURCE_CPPRC is not set to 0\nif [[ "$SOURCE_CPPRC" != 0 && -f "${gn}" ]]; then source "${gn}"; fi\n`;try{const e=d(".profile");(0,Be.appendFileSync)(e,t),(0,it.info)(`${t} was added to ${e}`);const r=d(".bashrc");(0,Be.appendFileSync)(r,t),(0,it.info)(`${t} was added to ${r}`)}catch(e){(0,un.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`)}vn=!0}async function x(e,r,n=[],o=!1){const s=(()=>{let e;return e=null!==t(ct).sync("nala",{nothrow:!0})?"nala":"apt-get",e})();if((0,it.info)(`Installing ${e} ${null!=r?r:""} via ${s}`),process.env.DEBIAN_FRONTEND="noninteractive",xn&&!o||(w(s),xn=!0),wn||(await(async e=>{u(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]),b(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),b(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg"),"nala"===e&&(await h("LANG","C.UTF-8"),await h("LC_ALL","C.UTF-8"))})(s),wn=!0),Array.isArray(n)&&0!==n.length){for(const e of n)u("add-apt-repository",["--update","-y",e]);w(s)}if(void 0!==r&&""!==r)try{u(s,["install","--fix-broken","-y",`${e}=${r}`])}catch{u(s,["install","--fix-broken","-y",`${e}-${r}`])}else u(s,["install","--fix-broken","-y",e]);return{binDir:"/usr/bin/"}}function w(e){u(e,"nala"!==e?["update","-y"]:["update"])}function y(){u("gpg",["-k"])}function b(e,t,r="keyserver.ubuntu.com"){const n="/etc/apt/trusted.gpg.d/"+t;if(!(0,Be.existsSync)(n)){y();for(const t of e)u("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",t]),u("chmod",["644",n])}return n}async function E(e,t){const r="/etc/apt/trusted.gpg.d/"+e;return(0,Be.existsSync)(r)||(y(),await x("curl",void 0),u("bash",["-c",`curl -s ${t} | gpg --no-default-keyring --keyring gnupg-ring:${r} --import`]),u("chmod",["644",r])),r}function S(e,r){return"github-actions"===t(cn)()?u("update-alternatives",["--install","/usr/bin/"+e,e,r,"40"]):(v(),(0,Be.appendFileSync)(gn,`\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${r} 40; fi\n`))}function _(e,t,r){(0,un.info)(`Installing ${e} ${null!=t?t:""} via pacman`);const n="pacman";if(yn||(u(n,["-Syuu","--noconfirm"]),yn=!0),bn||(u(n,["-Sy","--noconfirm","base-devel"]),bn=!0),void 0!==t&&""!==t)try{u(null!=r?r:n,["-S","--noconfirm",`${e}=${t}`])}catch{u(null!=r?r:n,["-S","--noconfirm",`${e}${t}`])}else u(null!=r?r:n,["-S","--noconfirm",e]);return{binDir:"/usr/bin/"}}function O(e,r,o=[]){return(0,it.info)(`Installing ${e} ${null!=r?r:""} via brew`),Sn&&null!==t(ct).sync("brew",{nothrow:!0})||(n(0,0,process),Sn=!0),t(xt).sync("brew",["install",void 0!==r&&""!==r?`${e}@${r}`:e,...o],{stdio:"inherit"}),{binDir:"/usr/local/bin/"}}async function $(e,r,n){if("win32"!==process.platform)return;if("string"==typeof En)return{binDir:En};const o=t(ct).sync("choco",{nothrow:!0});if(null!==o)return En=(0,at.dirname)(o),{binDir:En};let s="powershell.exe";const i=t(ct).sync(process.env.SystemRoot+"\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",{nothrow:!0});null!==i&&(s=i),t(xt).sync(s,["-NoProfile","-InputFormat","None","-ExecutionPolicy","Bypass","-Command","[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"],{stdio:"inherit"});const a=process.env.ALLUSERSPROFILE+"\\chocolatey\\bin";await f(a);const c=t(ct).sync("choco",{nothrow:!0});var l;return En=null!==c?(0,at.dirname)(c):(null!==(l=process.env.ChocolateyInstall)&&void 0!==l?l:"C:/ProgramData/chocolatey")+"/bin",(0,Be.existsSync)(En)?{binDir:En}:void 0}async function T(e,r,n=[]){(0,it.info)(`Installing ${e} ${null!=r?r:""} via chocolatey`),Tn&&null!==t(ct).sync("choco",{nothrow:!0})||(await $(0,0,process),Tn=!0);const o=process.env.PATH,s={...process.env};if(delete s.TMP,delete s.TEMP,delete s.Path,s.PATH=o,void 0!==r&&""!==r)t(xt).sync("choco",["install","-y",e,"--version="+r,...n],{env:s,extendEnv:!1,stdio:"inherit"});else try{t(xt).sync("choco",["install","-y",e,...n],{env:s,extendEnv:!1,stdio:"inherit"})}catch(t){if(!t.message.includes("exit code 3010"))throw t;(0,un.notice)(e+" might require a reboot for the completion of the installation.")}var i;const a=(null!==(i=process.env.ChocolateyInstall)&&void 0!==i?i:"C:/ProgramData/chocolatey")+"/bin";return await f(a),{binDir:a}}function C(){return"linux"===process.platform&&(void 0===_n&&(_n=null!==t(ct).sync("pacman",{nothrow:!0})),_n)}function P(){return"linux"===process.platform&&(void 0===On&&(On=null!==t(ct).sync("dnf",{nothrow:!0})),On)}function R(e,t){(0,un.info)(`Installing ${e} ${null!=t?t:""} via dnf`);const r="dnf";if(void 0!==t&&""!==t)try{u(r,["-y","install",`${e}-${t}`])}catch(t){(0,un.warning)(t+"\nInstalling the default version available via dnf"),u(r,["-y","install",e])}else u(r,["-y","install",e]);return{binDir:"/usr/bin/"}}function I(){if("linux"!==process.platform)return!1;if(void 0===$n){const e="apt-get";$n=null!==t(ct).sync(e,{nothrow:!0})}return $n}function A(e,t,r){switch(process.platform){case"win32":return T("7zip",e);case"darwin":return O("p7zip",e);case"linux":if(C())return _("p7zip",e);if(P())return R("p7zip",e),R("p7zip-plugins",e);if(I())return x("p7zip-full",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function k(e){"linux"!==process.platform&&"darwin"!==process.platform||!l()||void 0===process.env.SUDO_USER||u("chown",["-R",process.env.SUDO_USER,e],{cwd:e,stdio:"inherit",shell:!0})}function N(e,t){const r=[];t=t||Fn.arch();const n=Bn.join(F(),e);if(Un.existsSync(n)){const e=Un.readdirSync(n);for(const o of e)if(U(o)){const e=Bn.join(n,o,t||"");Un.existsSync(e)&&Un.existsSync(e+".complete")&&r.push(o)}}return r}function L(e){return Nn(this,void 0,void 0,(function*(){return e||(e=Bn.join(B(),Vn.default())),yield Dn.mkdirP(e),e}))}function j(e,t,r){return Nn(this,void 0,void 0,(function*(){const n=Bn.join(F(),e,zn.clean(t)||t,r||"");jn.debug("destination "+n);const o=n+".complete";return yield Dn.rmRF(n),yield Dn.rmRF(o),yield Dn.mkdirP(n),n}))}function D(e,t,r){const n=Bn.join(F(),e,zn.clean(t)||t,r||"");Un.writeFileSync(n+".complete",""),jn.debug("finished caching tool")}function U(e){const t=zn.clean(e)||"";jn.debug("isExplicit: "+t);const r=null!=zn.valid(t);return jn.debug("explicit? "+r),r}function M(e,t){let r="";jn.debug(`evaluating ${e.length} versions`);for(let n=(e=e.sort(((e,t)=>zn.gt(e,t)?1:-1))).length-1;n>=0;n--){const o=e[n];if(zn.satisfies(o,t)){r=o;break}}return jn.debug(r?"matched: "+r:"match not found"),r}function F(){const e=process.env.RUNNER_TOOL_CACHE||"";return Xe.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function B(){const e=process.env.RUNNER_TEMP||"";return Xe.ok(e,"Expected RUNNER_TEMP to be defined"),e}function G(e,t){const r=rt[e];return void 0!==r?r:t}async function z(e,r){return await t(xt)(await(async()=>(void 0===no&&(null===t(ct).sync("7z",{nothrow:!0})&&await A("",0,process),no="7z"),no))(),["x",e,"-o"+r,"-y"],{stdio:"inherit"}),k(r),r}function H(e,t){return z(e,t)}function q(e,t){return z(e,t)}async function V(e,r,n=["--strip-components=0"]){try{await(0,Cn.mkdirP)(r)}catch{}try{await t(xt)("tar",["xf",e,"-C",r,...n],{stdio:"inherit"})}catch(t){"win32"===process.platform&&t.message.includes("Can't create '\\\\?\\C:")&&(0,un.warning)(`Failed to extract symlink ${e} to ${r}. Ignoring this symlink.`)}return k(r),r}async function X(e,r,n,o,s){var i,a;(0,it.info)(`Installing ${e} ${r} ${s} via direct downloading`),process.env.RUNNER_TEMP=null!==(i=process.env.RUNNER_TEMP)&&void 0!==i?i:(0,Me.tmpdir)(),process.env.RUNNER_TOOL_CACHE=null!==(a=process.env.RUNNER_TOOL_CACHE)&&void 0!==a?a:(0,at.join)((0,Me.tmpdir)(),"setup-cpp","hostedtoolcache");const{url:c,binRelativeDir:l,binFileName:u,extractedFolderName:d,extractFunction:p}=await n(r,process.platform,s);if("github-actions"===t(cn)())try{const t=(0,Pn.find)(e,r);if(t){const n=(0,at.join)(t,d),o=(0,at.join)(n,l);if((0,Be.existsSync)(o)&&(0,Be.existsSync)((0,at.join)(o,u)))return(0,it.info)(`${e} ${r} was found in the cache at ${o}.`),await f(o),{installDir:n,binDir:o}}}catch{}const h=(0,at.join)(o,d),m=(0,at.join)(h,l),g=(0,at.join)(m,u);if(!(0,Be.existsSync)(m)||!(0,Be.existsSync)(g)){(0,it.info)(`Download and extract ${e} ${r}`),oo||("linux"===process.platform&&(C()?(_("unzip"),_("tar"),_("xz")):P()?(R("unzip"),R("tar"),R("xz")):I()&&(await x("unzip"),await x("tar"),await x("xz-utils"))),oo=!0);try{const e=await(0,Pn.downloadTool)(c);await(null==p?void 0:p(e,o))}catch(t){throw Error(`Failed to download ${e} ${r} ${s} from ${c}: ${t}`)}}return(0,it.info)(`Add ${m} to PATH`),await f(m),"github-actions"===t(cn)()&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&await(0,Pn.cacheDir)(o,e,r),{installDir:h,binDir:m}}function W(e,t,r){const n=(e=>"win32"===e?"windows":e)(t),o=(e=>{switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e}})(r),s="win32"===t,i=s?"zip":"tar.gz";return{binRelativeDir:"",binFileName:(0,at.addExeExt)("task"),extractedFolderName:"",extractFunction:s?q:V,url:`https://github.com/go-task/task/releases/download/v${e}/task_${n}_${o}.${i}`}}function Y(e,r,n){var o;const s=null!==(o=t(io)(e))&&void 0!==o?o:e;switch(r){case"win32":{const r=t(so)(s,"v3.19.6");let o;o=["ia32","x86","i386","x32"].includes(n)?r?"win32-x86":"windows-i386":r?"win64-x64":"windows-x86_64";const i=`cmake-${e}-${o}`;return{binRelativeDir:"bin/",binFileName:(0,at.addExeExt)("cmake"),extractedFolderName:i,extractFunction:q,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${i}.zip`}}case"darwin":{const r=`cmake-${e}-${t(so)(s,"v3.19.1")?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,at.addExeExt)("cmake"),extractedFolderName:r,extractFunction:Pn.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`}}case"linux":{const r=t(so)(s,"v3.19.8");let o;o=["aarch64"].includes(n)?r?"Linux-aarch64":"linux-aarch64":r?"Linux-x86_64":"linux-x86_64";const i=`cmake-${e}-${o}`;return{binRelativeDir:"bin/",binFileName:(0,at.addExeExt)("cmake"),extractedFolderName:i,extractFunction:Pn.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${i}.tar.gz`}}default:throw Error(`Unsupported platform '${r}'`)}}function K(e,t,r){return X("cmake",e,Y,t,r)}async function J(e,r,n){if("github-actions"!==t(cn)())return Z(e,r);try{(0,un.info)("Installing python in GitHub Actions");const{setupActionsPython:t}=await st("dgtoh");return t(e,r,n)}catch(t){return(0,un.warning)(""+t),Z(e,r)}}async function Z(e,r,n){switch(process.platform){case"win32":{var o,s;r?await T("python3",e,["--params=/InstallDir:"+r]):await T("python3",e);const n=null!==(s=null!==(o=t(ct).sync("python3.exe",{nothrow:!0}))&&void 0!==o?o:t(ct).sync("python.exe",{nothrow:!0}))&&void 0!==s?s:(0,at.join)(r,"python.exe"),i=(0,at.dirname)(n);return await(async e=>{(0,un.info)(`Add ${e} to PATH`),await f(e)})(i),{installDir:i,binDir:i}}case"darwin":return O("python3",e);case"linux":{let t;if(C())t=_("python",e),_("python-pip");else if(P())t=R("python3",e),R("python3-pip");else{if(!I())throw Error("Unsupported linux distributions");t=await x("python3",e),await x("python3-pip")}return t}default:throw Error("Unsupported platform")}}function Q(e,t){return new Promise((r=>{try{const n=(0,He.request)(e,{method:t},(e=>{r((e=>void 0!==e.statusCode&&e.statusCode>=200&&399>=e.statusCode)(e))}));n.on("error",(e=>{r(!1)})),n.end()}catch{r(!1)}}))}function ee(e,t){return Array.from(e).filter((e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t))).sort().reverse()}function te(e,t,r=null){if(re(t,e)){if("linux"===process.platform&&null!==r&&e in ho){const t=r[0];return parseInt(Object.keys(ho[e])[0],10)>t?"":ho[e][t]}return po[e]}return null!=t?t:""}function re(e,t){return"true"===e||void 0===e&&t in po}async function ne(e,r){if((0,it.info)(`Installing ${e} ${null!=r?r:""} via pip`),void 0===fo){if(null!==t(ct).sync("python3",{nothrow:!0}))fo="python3";else{if(null===t(ct).sync("python",{nothrow:!0})||!await(async(e,r,n=uo)=>{const o=await(async(e,t=uo)=>{try{var r;const n=await(0,Xn.getExecOutput)(e,["--version"]);return null===(r=(n.stdout||n.stderr||"").trim().match(t))||void 0===r?void 0:r[1]}catch(e){return void console.error(e)}})(e,n);return"string"==typeof o&&"string"==typeof r&&""!==o&&""!==r&&-1!==t(co)(o,r)})("python","3.0.0")){if((0,it.info)("python3 was not found. Installing python"),await J(te("python",void 0),"",process.arch),go)throw Error("Failed to install python");return go=!0,ne(e,r)}fo="python"}"win32"===process.platform?t(xt).sync(fo,["-m","pip","install","-U","pip==21.3.1"],{stdio:"inherit"}):"linux"===process.platform&&(C()?_("python-pip"):P()?R("python3-pip"):I()&&await x("python3-pip")),t(xt).sync(fo,["-m","pip","install","-U","wheel"],{stdio:"inherit"})}if(t(xt).sync(fo,["-m","pip","install",void 0!==r&&""!==r?`${e}==${r}`:e],{stdio:"inherit"}),void 0===mo){if("linux"===process.platform)mo="/home/runner/.local/bin/";else if("darwin"===process.platform)mo="/usr/local/bin/";else try{mo=(0,at.join)((await(0,Xn.getExecOutput)(fo+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}catch{mo=(0,at.join)((await(0,Xn.getExecOutput)(fo+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}(0,it.info)(mo+" to PATH"),await f(mo)}return{binDir:mo}}async function oe(e,t,r){switch(process.platform){case"win32":return await T("graphviz",e),(async()=>{if("win32"===process.platform){const e="C:/Program Files/Graphviz/bin";return await f(e),{binDir:e}}throw Error("Unsupported platform")})();case"darwin":return O("graphviz",e);case"linux":if(C())return _("graphviz",e);if(P())return R("graphviz",e);if(I())return x("graphviz",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function se(e,t,r){switch(t){case"linux":{const t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,at.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:Pn.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`}}case"win32":{const t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,at.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:q,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`}}default:throw Error(`Unsupported platform '${t}'`)}}async function ie(){if("darwin"===process.platform)try{const e=await(0,Xn.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await h("SDKROOT",t.trim()):(0,un.error)("SDKROOT not set")}catch(e){(0,un.error)(e)}}function ae(e,t,r){if("win32"===t){const t=wo[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);const n="ia32"===r?"i686":"x86_64",o="seh";return{binRelativeDir:"bin/",binFileName:(0,at.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:z,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${n}-posix-${o}-gcc-${t.fileSuffix}.7z`}}throw Error(`Unsupported platform '${t}'`)}async function ce(e,r,n){let o;switch(process.platform){case"win32":"arm"!==n&&"arm64"!==n||await T("gcc-arm-embedded",e);try{o=await X("g++",e,ae,r,n)}catch(t){(0,un.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),o=await(async(e,t)=>{let r;var n,o;return await T("mingw",e),"x64"===t&&(0,Be.existsSync)("C:/tools/mingw64/bin")?(r="C:/tools/mingw64/bin",await f(r)):"ia32"===t&&(0,Be.existsSync)("C:/tools/mingw32/bin")?(r="C:/tools/mingw32/bin",await f(r)):(0,Be.existsSync)((null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey")+"/bin/g++.exe")&&(r=(null!==(o=process.env.ChocolateyInstall)&&void 0!==o?o:"C:/ProgramData/chocolatey")+"/bin"),void 0!==r?{binDir:r}:void 0})(e,n)}break;case"darwin":o=O("gcc",e);break;case"linux":"x64"===n?C()?o=_("gcc",e):P()?(o=R("gcc",e),R("gcc-c++",e),R("libstdc++-devel",void 0)):I()&&(await x("gcc",e,["ppa:ubuntu-toolchain-r/test"]),o=await x("g++",e,[])):((0,un.info)(`Install g++-multilib because gcc for ${n} was requested`),C()?_("gcc-multilib",e):I()&&await x("gcc-multilib",e,["ppa:ubuntu-toolchain-r/test"]));break;default:throw Error("Unsupported platform for "+n)}if(void 0!==o)return await(async(e,r)=>{const n=[];if("win32"===process.platform)n.push(h("CC",(0,at.addExeExt)(r+"/gcc")),h("CXX",(0,at.addExeExt)(r+"/g++")));else{var o;const s=t(vo)(null!==(o=t(io)(e))&&void 0!==o?o:e);5>s?(n.push(h("CC",`${r}/gcc-${e}`),h("CXX",`${r}/g++-${e}`)),I()&&(S("cc",`${r}/gcc-${e}`),S("cxx",`${r}/g++-${e}`),S("gcc",`${r}/gcc-${e}`),S("g++",`${r}/g++-${e}`))):(n.push(h("CC",`${r}/gcc-${s}`),h("CXX",`${r}/g++-${s}`)),I()&&(S("cc",`${r}/gcc-${s}`),S("cxx",`${r}/g++-${s}`),S("gcc",`${r}/gcc-${s}`),S("g++",`${r}/g++-${s}`)))}n.push(ie()),"github-actions"===t(cn)()&&(()=>{const e=(0,at.join)(xo,"gcc_matcher.json");if(!(0,Be.existsSync)(e))return(0,un.warning)("the gcc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,un.info)("::add-matcher::"+e)})(),await Promise.all(n)})(e,o.binDir),o}function le(e,t,r){return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${t}${e}${r}`}function ue(e,t,r){return`https://releases.llvm.org/${e}/${t}${e}${r}`}function de(e,r){switch(e){case"darwin":return(e=>{if(Eo.has(e))return null;const r="clang+llvm-",n=`-x86_64${"9.0.0"===e?"-darwin-apple":"-apple-darwin"}.tar.xz`;return t(so)(e,"9.0.1")?ue(e,r,n):le(e,r,n)})(r);case"linux":return(e=>{let r=e;const n=So.get(r);let o;if(void 0!==n&&(r=n),r.includes("ubuntu")){const e=r.replace(/-ubuntu-.*/,"");if(!bo.has(e))throw Error("Unsupported Ubuntu version: "+e);o=r.replace(e,""),r=ee(bo,e)[0]}else""!==r&&r in _o?o=_o[r]:(o=_o["14.0.0"],(0,un.warning)(`Falling back to LLVM version 14.0.0 ${o} for the Ubuntu.`));const s="clang+llvm-",i="5.0.0"===r?`-linux-x86_64${o}.tar.xz`:`-x86_64-linux-gnu${o}.tar.xz`;return t(so)(r,"9.0.1")?ue(r,s,i):le(r,s,i)})(r);case"win32":return(async e=>{if(Oo.has(e))return null;const r="LLVM-",n=t(so)(e,"3.7.0")?"-win32.exe":"-win64.exe",o=t(so)(e,"9.0.1");let s,i=!1;return o&&(s=ue(e,r,n),await ao(s)||(i=!0)),!i&&o||(s=le(e,r,n)),s})(r);default:return null}}async function pe(e,t,r){const[n,o]=await(async(e,t,r,n)=>{if("linux"===t&&r.includes("ubuntu")){const e=await n(t,r);if(null!==e&&await ao(e))return[r,e]}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}')`);for(const o of ee(e,r)){const e=await n(t,o);if(null!==e&&await ao(e))return[o,e]}throw Error(`Unsupported target! (platform='${t}', version='${r}')`)})(bo,t,e,de);return(0,it.setOutput)("version",n),{url:o,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,at.addExeExt)("clang"),extractFunction:"win32"===t?H:(e,t)=>V(e,t,["--strip-components=1"])}}async function he(e,r,n){const o=await fe(e,r,n);var s;return await(async(e,r)=>{const n=(e=>{if(null===t(lo)(e))try{const r=t(io)(e);if(null!==r)return(0,un.info)(`Coerced version '${e}' to '${r}'`),r.version}catch(e){}return e})(r),o=(0,at.join)(e,"lib");var s;const i=null!==(s=process.env.LD_LIBRARY_PATH)&&void 0!==s?s:"";var a;const c=null!==(a=process.env.DYLD_LIBRARY_PATH)&&void 0!==a?a:"",l=[h("LLVM_PATH",e),h("LD_LIBRARY_PATH",`${o}${at.delimiter}${i}`),h("DYLD_LIBRARY_PATH",`${o}${at.delimiter}${c}`),h("LDFLAGS",`-L"${e}/lib"`),h("CPPFLAGS",`-I"${e}/include"`),h("CC",(0,at.addExeExt)(e+"/bin/clang")),h("CXX",(0,at.addExeExt)(e+"/bin/clang++")),h("LIBRARY_PATH",e+"/lib"),ie()];if("win32"!==process.platform){const r=t(vo)(n);(0,Be.existsSync)(`${e}/lib/clang/${n}/include`)?l.push(h("CPATH",`${e}/lib/clang/${n}/include`)):(0,Be.existsSync)(`${e}/lib/clang/${r}/include`)&&l.push(h("CPATH",`${e}/lib/clang/${r}/include`))}I()&&(S("cc",e+"/bin/clang"),S("cxx",e+"/bin/clang++"),S("clang",e+"/bin/clang"),S("clang++",e+"/bin/clang++"),S("lld",e+"/bin/lld"),S("ld.lld",e+"/bin/ld.lld"),S("llvm-ar",e+"/bin/llvm-ar")),"github-actions"===t(cn)()&&ge(),await Promise.all(l)})(null!==(s=o.installDir)&&void 0!==s?s:r,e),o}async function fe(e,t,r){const n=await X("llvm",e,pe,t,r);return $o||("linux"===process.platform&&(await ce(te("gcc",void 0),"",r),C()||I()&&await x("libtinfo-dev")),$o=!0),n}function me(e,r,n){return"github-actions"===t(cn)()&&ge(),fe(e,r,n)}function ge(){const e=(0,at.join)(yo,"llvm_matcher.json");if(!(0,Be.existsSync)(e))return(0,un.warning)("the llvm_matcher.json file does not exist in the same folder as setup_cpp.js");(0,un.info)("::add-matcher::"+e)}function ve(e,t,r){const n=new Do(e,t,r);process.stdout.write(""+n+Lo.EOL)}function xe(e){ko.issue("error",e instanceof Error?""+e:e)}function we(e){ko.issue("group",e)}function ye(){ko.issue("endgroup")}function be(e){return Object.values(Ko).includes(e)?e:e in Ko?Ko[e]:e}function Ee(e){if(Object.keys(Ko).includes(e))return e;for(const[t,r]of Object.entries(Ko))if(r===e)return t;return e}function Se(e){const t=be(e);let r;if(t){const e=t.split(".")[0]+".9";r=`-version "${t},${e}"`}else r="-latest";let n=((e,t)=>{try{return(""+Ye.execSync(`vswhere -products * ${t} -prerelease -property installationPath`)).trim()+"\\VC\\Auxiliary\\Build\\vcvarsall.bat"}catch(e){Ro.warning("vswhere failed: "+e)}return null})(0,r);if(n&&Be.existsSync(n))return Ro.info("Found with vswhere: "+n),n;Ro.info("Not found with vswhere");const o=e?[Ee(e)]:Yo;for(const e of Xo)for(const t of o)for(const r of Wo)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,Ro.info("Trying standard location: "+n),Be.existsSync(n))return Ro.info("Found standard location: "+n),n;if(Ro.info("Not found in standard locations"),n=Vo+"\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat",Be.existsSync(n))return Ro.info("Found VS 2015: "+n),n;throw Ro.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found")}async function _e(e,t,r,n,o,s,i){void 0!==t&&(0,Be.existsSync)(t)&&((0,un.info)(`Adding ${t} to PATH`),await h("VCTargetsPath",t)),Po((e=>{switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e}})(r),o,n,s,i,e)}async function Oe(e,r,n,o,s,i){if("win32"!==process.platform)return;const a=To(e);(0,un.info)(`Checking if MSVC ${a} is already installed`);let c,l,u=!1;try{const e=Co(a);u=!0,(0,un.info)("Found the pre-installed version of MSVC at "+e)}catch{}if(!u)try{"14.0"===a?(c="14.0",await T("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),l="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===a?(c="14.16",await T("visualstudio2017buildtools","15.9.41.0",[]),l="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===a?(c="14.29",await T("visualstudio2019buildtools","16.11.7.0",[]),l="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===a?(c=void 0,await T("visualstudio2022buildtools","117.0.5.0",[]),l=void 0):(0,un.error)(`The given MSVC versions ${e} is not supported yet.`)}catch(e){(0,un.error)(e)}await _e(a,l,n,c,o,s,i),"github-actions"===t(cn)()&&(()=>{const e=(0,at.join)(Qo,"msvc_matcher.json");if(!(0,Be.existsSync)(e))return(0,un.warning)("the msvc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,un.info)("::add-matcher::"+e)})()}function $e(e,t,r){const n=(e=>{switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`)}})(t);return{binRelativeDir:"",binFileName:(0,at.addExeExt)("ninja"),extractedFolderName:"",extractFunction:q,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`}}function Te(e,t,r){return X("ninja",e,$e,t,r)}function Ce(e){return null==e?[]:Array.isArray(e)?e:[e]}function Pe(e,t,r,n){var o,s=e[t],i=~n.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~n.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(o=+r)==0?o:r),!!r)):0*(o=+r)==0?o:r;e[t]=null==s?i:Array.isArray(s)?s.concat(i):[s,i]}async function Re(){if(I()){null===t(ct).sync("lsb_release",{nothrow:!0})&&await x("lsb-release");const e=await(0,ns.getUbuntuVersion)();if(0===e.length)throw Error("Failed to get the ubuntu major version.");return e}return null}function Ie(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,at.addExeExt)("kcov"),extractFunction:V}}function Ae(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,at.addExeExt)("kcov"),extractFunction:ke}}async function ke(e,r){const n=await V(e,r,["--strip-components=1"]),o=await(async()=>{let e=t(ct).sync("cmake",{nothrow:!0});if(null===e){const{binDir:t}=await K(te("cmake",void 0),(0,at.join)(d(""),"cmake"),"");e=(0,at.join)(t,"cmake")}return null===t(ct).sync("ninja",{nothrow:!0})&&await Te(te("ninja",void 0),(0,at.join)(d(""),"ninja"),""),e})();"linux"===process.platform&&(C()?(_("libdwarf"),_("libcurl-openssl")):P()?(R("libdwarf-devel"),R("libcurl-devel")):I()&&(await x("libdw-dev"),await x("libcurl4-openssl-dev")));const s=(0,at.join)(n,"build");return await t(xt)(o,["-S",n,"-B",s,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:n,stdio:"inherit"}),await t(xt)(o,["--build",s,"--config","Release"],{cwd:n,stdio:"inherit"}),n}async function Ne(e){"github-actions"!==t(cn)()&&(process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");const r=Le(e);var n;r.help&&(0,un.info)('\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\t the to install.\n \t You can specify the version instead of specifying just the name e.g: --compiler \'llvm-13.0.0\'\n\n--tool_name\t pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n ');const o=null!==(n=r.architecture)&&void 0!==n?n:process.arch;var s;const i=null!==(s=process.env.SETUP_CPP_DIR)&&void 0!==s?s:d(""),a=[],c=[],l=es.create({autoloadLocales:!0});let u,p;es.addLocale(t(Zo)),ts.addLocale(t(rs));let f=null;try{f=await Re()}catch(e){(0,un.warning)(""+e)}if(!((e,t)=>{for(let r=0;t.length>r;r++){const n=t.slice(0,r).concat(t.slice(r+1)),o=t[r];if(!re(e[o],o))for(let t=0;n.length>t;t++){const r=n[t];if(re(e[r],n[t]))e[r]=e[o];else if(e[o]!==e[n[t]])return!1}}return!0})(r,["llvm","clangtidy","clangformat"]))return(0,un.error)("The same version must be used for llvm, clangformat and clangtidy"),1;for(const e of as){const t=r[e];if(void 0!==t){u=Date.now(),(0,it.startGroup)(`Installing ${e} ${t}`);try{let r;if("vcvarsall"===e)await _e(te(e,t,f),void 0,o,void 0,void 0,!1,!1);else{const n=is[e],s=(0,at.join)(i,["llvm","clangformat","clangtidy"].includes(e)?"llvm":e);r=await n(te(e,t,f),s,o)}a.push(Ue(e,r))}catch(t){(0,un.error)(t),c.push(e+" failed to install")}(0,it.endGroup)(),p=Date.now(),(0,un.info)("took "+(l.format(u,p)||"0 seconds"))}}const m=r.compiler;u=Date.now();try{if(void 0!==m){const{compiler:e,version:t}=je(m);switch((0,it.startGroup)(`Installing ${e} ${null!=t?t:""}`),e){case"llvm":case"clang":case"clang++":{const e=await he(te("llvm",t,f),(0,at.join)(i,"llvm"),o);a.push(Ue("llvm",e));break}case"gcc":case"mingw":case"cygwin":case"msys":{const e=await ce(te("gcc",t,f),(0,at.join)(i,"gcc"),o);a.push(Ue("gcc",e));break}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{const e=await Oe(te("msvc",t,f),(0,at.join)(i,"msvc"),o);a.push(Ue("msvc",e));break}case"appleclang":case"applellvm":(0,it.notice)("Assuming apple-clang is already installed"),await Promise.all([h("CC","clang"),h("CXX","clang++")]),a.push(Ue("apple-clang",void 0));break;default:c.push("Unsupported compiler "+e)}(0,it.endGroup)(),p=Date.now(),(0,un.info)("took "+(l.format(u,p)||"0 seconds"))}}catch(e){(0,un.error)(e),c.push("Failed to install the "+m),(0,it.endGroup)(),p=Date.now(),(0,un.info)("took "+(l.format(u,p)||"0 seconds"))}if(0===a.length&&0===c.length)return(0,un.warning)("setup_cpp was called without any arguments. Nothing to do."),0;if(a.forEach((e=>(0,un.success)(e))),c.forEach((e=>(0,un.error)(e))),(0,un.info)("setup_cpp finished"),"github-actions"!==t(cn)())switch(process.platform){case"win32":(0,un.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,un.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.")}return 0===c.length?0:1}function Le(e){return((e,t)=>{var r,n,o,s,i,a={_:[]},c=0,l=0,u=0,d=(e=e||[]).length;const p=void 0!==(t=t||{}).alias,h=void 0!==t.unknown,f=void 0!==t.default;if(t.alias=t.alias||{},t.string=Ce(t.string),t.boolean=Ce(t.boolean),p)for(r in t.alias)for(n=t.alias[r]=Ce(t.alias[r]),c=0;n.length>c;c++)(t.alias[n[c]]=n.concat(r)).splice(c,1);for(c=t.boolean.length;c-- >0;)for(l=(n=t.alias[t.boolean[c]]||[]).length;l-- >0;)t.boolean.push(n[l]);for(c=t.string.length;c-- >0;)for(l=(n=t.alias[t.string[c]]||[]).length;l-- >0;)t.string.push(n[l]);if(f)for(r in t.default)if(s=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[s])for(t[s].push(r),c=0;n.length>c;c++)t[s].push(n[c]);const m=h?Object.keys(t.alias):[];for(c=0;d>c;c++){if("--"===(o=e[c])){a._=a._.concat(e.slice(++c));break}for(l=0;o.length>l&&45===o.charCodeAt(l);l++);if(0===l)a._.push(o);else if("no-"===o.substring(l,l+3)){if(s=o.substring(l+3),h&&!~m.indexOf(s))return t.unknown(o);a[s]=!1}else{for(u=l+1;o.length>u&&61!==o.charCodeAt(u);u++);for(s=o.substring(l,u),i=o.substring(++u)||c+1===d||45===(""+e[c+1]).charCodeAt(0)||e[++c],n=2===l?[s]:s,u=0;n.length>u;u++){if(s=n[u],h&&!~m.indexOf(s))return t.unknown("-".repeat(l)+s);Pe(a,s,n.length>u+1||i,t)}}}if(f)for(r in t.default)void 0===a[r]&&(a[r]=t.default[r]);if(p)for(r in a)for(n=t.alias[r]||[];n.length>0;)a[n.shift()]=a[r];return a})(e,{string:cs,default:Object.fromEntries(cs.map((e=>[e,De(e)]))),alias:{h:"help"},boolean:"help"})}function je(e){const r=e.split("-"),n=r[0];if(1 in r){const e=r[1];return null!==t(lo)(e)||(0,un.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:n,version:e}}return{compiler:n,version:void 0}}function De(e){const t=(0,it.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t}function Ue(e,t){let r=`✅ ${e} was installed successfully:`;return void 0===t||("installDir"in t&&(r+="\n- The installation directory is "+t.installDir),""!==t.binDir&&(r+="\n- The binary directory is "+t.binDir)),r}var Me=require("os"),Fe=require("path"),Be=require("fs"),Ge=require("crypto"),ze=require("http"),He=require("https");require("net");var qe=require("tls"),Ve=require("events"),Xe=require("assert"),We=require("util"),Ye=require("child_process"),Ke=require("string_decoder"),Je=require("timers"),Ze=require("buffer"),Qe=require("stream"),et=require("url"),tt=require("process"),rt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},nt={},ot={},st=rt.parcelRequire810d;null==st&&((st=e=>{if(e in nt)return nt[e].exports;if(e in ot){var t=ot[e];delete ot[e];var r={id:e,exports:{}};return nt[e]=r,t.call(r.exports,r,r.exports),r.exports}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=(e,t)=>{ot[e]=t},rt.parcelRequire810d=st),st.register("enS5B",(function(e,t){"use strict";function r(e,t){const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return t&&!1===t.trimWhitespace?r:r.trim()}function n(e,t={}){u.issueCommand("error",p.toCommandProperties(t),e instanceof Error?""+e:e)}function o(e){u.issue("group",e)}function s(){u.issue("endgroup")}var i=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),a=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),c=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&i(t,e,r);return a(t,e),t}),l=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0;var u=st("BN3hS"),d=st("ggfP6"),p=st("1gUXU");const h=c(Me),f=c(Fe);st("aWhCt");var m,g,v=st("bTj1Z"),x=st("69Mk5");(g=m=e.exports.ExitCode||(e.exports.ExitCode={}))[g.Success=0]="Success",g[g.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=p.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="ghadelimiter_"+v.default();if(e.includes(t))throw Error(`Unexpected input: name should not contain the delimiter "${t}"`);if(r.includes(t))throw Error(`Unexpected input: value should not contain the delimiter "${t}"`);d.issueCommand("ENV",`${e}<<${t}${h.EOL}${r}${h.EOL}${t}`)}else u.issueCommand("set-env",{name:e},r)},e.exports.setSecret=e=>{u.issueCommand("add-mask",{},e)},e.exports.addPath=e=>{process.env.GITHUB_PATH?d.issueCommand("PATH",e):u.issueCommand("add-path",{},e),process.env.PATH=`${e}${f.delimiter}${process.env.PATH}`},e.exports.getInput=r,e.exports.getMultilineInput=(e,t)=>r(e,t).split("\n").filter((e=>""!==e)),e.exports.getBooleanInput=(e,t)=>{const n=r(e,t);if(["true","True","TRUE"].includes(n))return!0;if(["false","False","FALSE"].includes(n))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)},e.exports.setOutput=(e,t)=>{process.stdout.write(h.EOL),u.issueCommand("set-output",{name:e},t)},e.exports.setCommandEcho=e=>{u.issue("echo",e?"on":"off")},e.exports.setFailed=e=>{process.exitCode=m.Failure,n(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=n,e.exports.warning=(e,t={})=>{u.issueCommand("warning",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.notice=(e,t={})=>{u.issueCommand("notice",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+h.EOL)},e.exports.startGroup=o,e.exports.endGroup=s,e.exports.group=function(e,t){return l(this,void 0,void 0,(function*(){let r;o(e);try{r=yield t()}finally{s()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||"",e.exports.getIDToken=function(e){return l(this,void 0,void 0,(function*(){return yield x.OidcClient.getIDToken(e)}))};var w=st("9tSJs");Object.defineProperty(e.exports,"summary",{enumerable:!0,get(){return w.summary}}),w=st("9tSJs"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get(){return w.markdownSummary}});var y=st("k6K8l");Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get(){return y.toPosixPath}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get(){return y.toWin32Path}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get(){return y.toPlatformPath}})})),st.register("BN3hS",(function(e,t){"use strict";function r(e,t,r){const n=new c(e,t,r);process.stdout.write(""+n+i.EOL)}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const i=s(Me);var a=st("1gUXU");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class c{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,a.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>a.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}})),st.register("1gUXU",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),e.exports.toCommandProperties=e=>Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),st.register("ggfP6",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const s=o(Be),i=o(Me);var a=st("1gUXU");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!s.existsSync(r))throw Error("Missing file at path: "+r);s.appendFileSync(r,`${a.toCommandValue(t)}${i.EOL}`,{encoding:"utf8"})}})),st.register("aWhCt",((t,r)=>{e(t.exports,"v4",(()=>st("bTj1Z").default)),st("bTj1Z")})),st.register("bTj1Z",((t,r)=>{e(t.exports,"default",(()=>s));var n=st("5x7Ba"),o=st("FUqvx"),s=(e,t,r)=>{const s=(e=e||{}).random||(e.rng||n.default)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){r=r||0;for(let e=0;16>e;++e)t[r+e]=s[e];return t}return(0,o.default)(s)}})),st.register("5x7Ba",((r,n)=>{function o(){return i>s.length-16&&(t(Ge).randomFillSync(s),i=0),s.slice(i,i+=16)}e(r.exports,"default",(()=>o));const s=new Uint8Array(256);let i=s.length})),st.register("FUqvx",((t,r)=>{e(t.exports,"default",(()=>s));var n=st("kYWmF");const o=[];for(let e=0;256>e;++e)o.push((e+256).toString(16).substr(1));var s=(e,t=0)=>{const r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,n.default)(r))throw TypeError("Stringified UUID is invalid");return r}})),st.register("kYWmF",((t,r)=>{e(t.exports,"default",(()=>o));var n=st("1J9r9"),o=e=>"string"==typeof e&&n.default.test(e)})),st.register("1J9r9",((t,r)=>{e(t.exports,"default",(()=>n));var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i})),st.register("69Mk5",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=st("4z9RF"),o=st("7v249"),s=st("enS5B");class i{static createHttpClient(e=!0,t=10){const r={allowRetries:e,maxRetries:t};return new n.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(i.getRequestToken())],r)}static getRequestToken(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){var t;return r(this,void 0,void 0,(function*(){const r=i.createHttpClient(),n=yield r.getJson(e).catch((e=>{throw Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)})),o=null===(t=n.result)||void 0===t?void 0:t.value;if(!o)throw Error("Response json body do not have ID Token field");return o}))}static getIDToken(e){return r(this,void 0,void 0,(function*(){try{let t=i.getIDTokenUrl();e&&(t=`${t}&audience=${encodeURIComponent(e)}`),s.debug("ID token url is "+t);const r=yield i.getCall(t);return s.setSecret(r),r}catch(e){throw Error("Error message: "+e.message)}}))}}e.exports.OidcClient=i})),st.register("4z9RF",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.HttpClient=e.exports.isHttps=e.exports.HttpClientResponse=e.exports.HttpClientError=e.exports.getProxyUrl=e.exports.MediaTypes=e.exports.Headers=e.exports.HttpCodes=void 0;const i=o(ze),a=o(He),c=o(st("2IaKG")),l=o(st("bbp3j"));var u,d,p,h,f;(d=u=e.exports.HttpCodes||(e.exports.HttpCodes={}))[d.OK=200]="OK",d[d.MultipleChoices=300]="MultipleChoices",d[d.MovedPermanently=301]="MovedPermanently",d[d.ResourceMoved=302]="ResourceMoved",d[d.SeeOther=303]="SeeOther",d[d.NotModified=304]="NotModified",d[d.UseProxy=305]="UseProxy",d[d.SwitchProxy=306]="SwitchProxy",d[d.TemporaryRedirect=307]="TemporaryRedirect",d[d.PermanentRedirect=308]="PermanentRedirect",d[d.BadRequest=400]="BadRequest",d[d.Unauthorized=401]="Unauthorized",d[d.PaymentRequired=402]="PaymentRequired",d[d.Forbidden=403]="Forbidden",d[d.NotFound=404]="NotFound",d[d.MethodNotAllowed=405]="MethodNotAllowed",d[d.NotAcceptable=406]="NotAcceptable",d[d.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",d[d.RequestTimeout=408]="RequestTimeout",d[d.Conflict=409]="Conflict",d[d.Gone=410]="Gone",d[d.TooManyRequests=429]="TooManyRequests",d[d.InternalServerError=500]="InternalServerError",d[d.NotImplemented=501]="NotImplemented",d[d.BadGateway=502]="BadGateway",d[d.ServiceUnavailable=503]="ServiceUnavailable",d[d.GatewayTimeout=504]="GatewayTimeout",(h=p=e.exports.Headers||(e.exports.Headers={})).Accept="accept",h.ContentType="content-type",(f=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=e=>{const t=c.getProxyUrl(new URL(e));return t?t.href:""};const m=[u.MovedPermanently,u.ResourceMoved,u.SeeOther,u.TemporaryRedirect,u.PermanentRedirect],g=[u.BadGateway,u.ServiceUnavailable,u.GatewayTimeout],v=["OPTIONS","GET","DELETE","HEAD"];class x extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,x.prototype)}}e.exports.HttpClientError=x;class w{constructor(e){this.message=e}readBody(){return s(this,void 0,void 0,(function*(){return new Promise((e=>s(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])})),this.message.on("end",(()=>{e(""+t)}))}))))}))}}e.exports.HttpClientResponse=w,e.exports.isHttps=e=>"https:"===new URL(e).protocol,e.exports.HttpClient=class{constructor(e,t,r){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=e,this.handlers=t||[],this.requestOptions=r,r&&(null!=r.ignoreSslError&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,null!=r.allowRedirects&&(this._allowRedirects=r.allowRedirects),null!=r.allowRedirectDowngrade&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),null!=r.maxRedirects&&(this._maxRedirects=Math.max(r.maxRedirects,0)),null!=r.keepAlive&&(this._keepAlive=r.keepAlive),null!=r.allowRetries&&(this._allowRetries=r.allowRetries),null!=r.maxRetries&&(this._maxRetries=r.maxRetries))}options(e,t){return s(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return s(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return s(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return s(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return s(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return s(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return s(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,n){return s(this,void 0,void 0,(function*(){return this.request(e,t,r,n)}))}getJson(e,t={}){return s(this,void 0,void 0,(function*(){t[p.Accept]=this._getExistingOrDefaultHeader(t,p.Accept,f.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t,r={}){return s(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const o=yield this.post(e,n,r);return this._processResponse(o,this.requestOptions)}))}putJson(e,t,r={}){return s(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const o=yield this.put(e,n,r);return this._processResponse(o,this.requestOptions)}))}patchJson(e,t,r={}){return s(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const o=yield this.patch(e,n,r);return this._processResponse(o,this.requestOptions)}))}request(e,t,r,n){return s(this,void 0,void 0,(function*(){if(this._disposed)throw Error("Client has already been disposed.");const o=new URL(t);let s=this._prepareRequest(e,o,n);const i=this._allowRetries&&v.includes(e)?this._maxRetries+1:1;let a,c=0;do{if(a=yield this.requestRaw(s,r),a&&a.message&&a.message.statusCode===u.Unauthorized){let e;for(const t of this.handlers)if(t.canHandleAuthentication(a)){e=t;break}return e?e.handleAuthentication(this,s,r):a}let t=this._maxRedirects;for(;a.message.statusCode&&m.includes(a.message.statusCode)&&this._allowRedirects&&t>0;){const i=a.message.headers.location;if(!i)break;const c=new URL(i);if("https:"===o.protocol&&o.protocol!==c.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield a.readBody(),c.hostname!==o.hostname)for(const e in n)"authorization"===e.toLowerCase()&&delete n[e];s=this._prepareRequest(e,c,n),a=yield this.requestRaw(s,r),t--}if(!a.message.statusCode||!g.includes(a.message.statusCode))return a;c+=1,i>c&&(yield a.readBody(),yield this._performExponentialBackoff(c))}while(i>c);return a}))}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,t){return s(this,void 0,void 0,(function*(){return new Promise(((r,n)=>{this.requestRawWithCallback(e,t,((e,t)=>{e?n(e):t?r(t):n(Error("Unknown error"))}))}))}))}requestRawWithCallback(e,t,r){function n(e,t){o||(o=!0,r(e,t))}"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let o=!1;const s=e.httpModule.request(e.options,(e=>{n(void 0,new w(e))}));let i;s.on("socket",(e=>{i=e})),s.setTimeout(this._socketTimeout||18e4,(()=>{i&&i.end(),n(Error("Request timeout: "+e.options.path))})),s.on("error",(e=>{n(e)})),t&&"string"==typeof t&&s.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(()=>{s.end()})),t.pipe(s)):s.end()}getAgent(e){const t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const o="https:"===n.parsedUrl.protocol;n.httpModule=o?a:i;const s=o?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):s,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(const e of this.handlers)e.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},y(this.requestOptions.headers),y(e||{})):y(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=y(this.requestOptions.headers)[t]),e[t]||n||r}_getAgent(e){let t;const r=c.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;const o="https:"===e.protocol;let s=100;if(this.requestOptions&&(s=this.requestOptions.maxSockets||i.globalAgent.maxSockets),r&&r.hostname){const e={maxSockets:s,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let n;const i="https:"===r.protocol;n=o?i?l.httpsOverHttps:l.httpsOverHttp:i?l.httpOverHttps:l.httpOverHttp,t=n(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:s};t=o?new a.Agent(e):new i.Agent(e),this._agent=t}return t||(t=o?a.globalAgent:i.globalAgent),o&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){return s(this,void 0,void 0,(function*(){const t=5*Math.pow(2,e=Math.min(10,e));return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return s(this,void 0,void 0,(function*(){return new Promise(((r,n)=>s(this,void 0,void 0,(function*(){const o=e.message.statusCode||0,s={statusCode:o,result:null,headers:{}};let i,a;o===u.NotFound&&r(s);try{a=yield e.readBody(),a&&a.length>0&&(i=t&&t.deserializeDates?JSON.parse(a,((e,t)=>{if("string"==typeof t){const e=new Date(t);if(!isNaN(e.valueOf()))return e}return t})):JSON.parse(a),s.result=i),s.headers=e.message.headers}catch(e){}if(o>299){let e;e=i&&i.message?i.message:a&&a.length>0?a:`Failed request: (${o})`;const t=new x(e,o);t.result=s.result,n(t)}else r(s)}))))}))}};const y=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})})),st.register("2IaKG",((e,t)=>{"use strict";function r(e){if(!e.hostname)return!1;const t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=+e.port:"http:"===e.protocol?r=80:"https:"===e.protocol&&(r=443);const n=[e.hostname.toUpperCase()];"number"==typeof r&&n.push(`${n[0]}:${r}`);for(const e of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(n.some((t=>t===e)))return!0;return!1}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=e=>{const t="https:"===e.protocol;if(r(e))return;const n=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;return n?new URL(n):void 0},e.exports.checkBypass=r})),st.register("bbp3j",((e,t)=>{e.exports=st("fNJ5J")})),st.register("fNJ5J",(function(t,r){function n(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||ze.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",((e,r,n,o)=>{for(var i=s(r,n,o),a=0,c=t.requests.length;c>a;++a){var l=t.requests[a];if(l.host===i.host&&l.port===i.port)return t.requests.splice(a,1),void l.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function o(e,t){var r=this;n.prototype.createSocket.call(r,e,(n=>{var o=e.request.getHeader("host"),s=i({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):e.host}),a=qe.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,t(a)}))}function s(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function i(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var o=Object.keys(n),s=0,i=o.length;i>s;++s){var a=o[s];void 0!==n[a]&&(e[a]=n[a])}}return e}var a,c,l,u,d,p;e(t.exports,"httpOverHttp",(()=>a),(e=>a=e)),e(t.exports,"httpsOverHttp",(()=>c),(e=>c=e)),e(t.exports,"httpOverHttps",(()=>l),(e=>l=e)),e(t.exports,"httpsOverHttps",(()=>u),(e=>u=e)),e(t.exports,"debug",(()=>d),(e=>d=e)),a=e=>{var t=new n(e);return t.request=ze.request,t},c=e=>{var t=new n(e);return t.request=ze.request,t.createSocket=o,t.defaultPort=443,t},l=e=>{var t=new n(e);return t.request=He.request,t},u=e=>{var t=new n(e);return t.request=He.request,t.createSocket=o,t.defaultPort=443,t},We.inherits(n,Ve.EventEmitter),n.prototype.addRequest=function(e,t,r,n){var o=this,a=i({request:e},o.options,s(t,r,n));this.maxSockets>o.sockets.length?o.createSocket(a,(t=>{function r(){o.emit("free",t,a)}function n(e){o.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n)}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t)})):o.requests.push(a)},n.prototype.createSocket=function(e,t){function r(r,s,i){var c;return a.removeAllListeners(),s.removeAllListeners(),200!==r.statusCode?(p("tunneling socket could not be established, statusCode=%d",r.statusCode),s.destroy(),(c=Error("tunneling socket could not be established, statusCode="+r.statusCode)).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(o)):i.length>0?(p("got illegal response body from proxy"),s.destroy(),(c=Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(o)):(p("tunneling connection has established"),n.sockets[n.sockets.indexOf(o)]=s,t(s))}var n=this,o={};n.sockets.push(o);var s=i({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),p("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",(e=>{e.upgrade=!0})),a.once("upgrade",((e,t,n)=>{process.nextTick((()=>{r(e,t,n)}))})),a.once("connect",r),a.once("error",(t=>{a.removeAllListeners(),p("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=Error("tunneling socket could not be established, cause="+t.message);r.code="ECONNRESET",e.request.emit("error",r),n.removeSocket(o)})),a.end()},n.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,(e=>{r.request.onSocket(e)}))}},d=p=()=>{}})),st.register("7v249",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.PersonalAccessTokenCredentialHandler=e.exports.BearerCredentialHandler=e.exports.BasicCredentialHandler=void 0,e.exports.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from(`${this.username}:${this.password}`).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.BearerCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Bearer "+this.token}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from("PAT:"+this.token).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}}})),st.register("9tSJs",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;const{access:n,appendFile:o,writeFile:s}=Be.promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";const i=new class{constructor(){this._buffer=""}filePath(){return r(this,void 0,void 0,(function*(){if(this._filePath)return this._filePath;const t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield n(t,Be.constants.R_OK|Be.constants.W_OK)}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`}write(e){return r(this,void 0,void 0,(function*(){const t=!!(null==e?void 0:e.overwrite),r=yield this.filePath(),n=t?s:o;return yield n(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()}))}clear(){return r(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:!0})}))}stringify(){return this._buffer}isEmptyBuffer(){return 0===this._buffer.length}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(Me.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=!1){const r=t?"ol":"ul",n=e.map((e=>this.wrap("li",e))).join(""),o=this.wrap(r,n);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if("string"==typeof e)return this.wrap("td",e);const{header:t,data:r,colspan:n,rowspan:o}=e,s=t?"th":"td",i=Object.assign(Object.assign({},n&&{colspan:n}),o&&{rowspan:o});return this.wrap(s,r,i)})).join("");return this.wrap("tr",t)})).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:o}=r||{},s=Object.assign(Object.assign({},n&&{width:n}),o&&{height:o}),i=this.wrap("img",null,Object.assign({src:e,alt:t},s));return this.addRaw(i).addEOL()}addHeading(e,t){const r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",o=this.wrap(n,e);return this.addRaw(o).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}};e.exports.markdownSummary=i,e.exports.summary=i})),st.register("k6K8l",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;const s=o(Fe);e.exports.toPosixPath=e=>e.replace(/[\\]/g,"/"),e.exports.toWin32Path=e=>e.replace(/[/]/g,"\\"),e.exports.toPlatformPath=e=>e.replace(/[/\\]/g,s.sep)})),st.register("ftrAD",((e,t)=>{function r(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&((e,t)=>{var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;r.length>n;n++){var o=r[n].toLowerCase();if(o&&e.substr(-o.length).toLowerCase()===o)return!0}return!1})(t,r)}function n(e,t,n){Be.stat(e,((o,s)=>{n(o,!o&&r(s,e,t))}))}e.exports=n,n.sync=(e,t)=>r(Be.statSync(e),e,t)})),st.register("9yF3I",((e,t)=>{function r(e,t,r){Be.stat(e,((e,o)=>{r(e,!e&&n(o,t))}))}function n(e,t){return e.isFile()&&((e,t)=>{var r=e.mode,n=e.uid,o=e.gid,s=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),i=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8),l=a|c;return r&parseInt("001",8)||r&c&&o===i||r&a&&n===s||r&l&&0===s})(e,t)}e.exports=r,r.sync=(e,t)=>n(Be.statSync(e),t)})),st.register("6XIgB",((t,r)=>{function n(e,t){return Object.keys(t).forEach((r=>{"default"===r||"__esModule"===r||e.hasOwnProperty(r)||Object.defineProperty(e,r,{enumerable:!0,get:()=>t[r]})})),e}function o(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function s(e,t=!0){return t?(0,Fe.basename)(e):(0,Fe.basename)(e,(0,Fe.extname)(e))}function i(e){return(0,Fe.normalize)(e).replace(RegExp((e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})(Fe.sep)+"$"),"")}function a(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function c(e,t){const r=(0,Fe.extname)(e),n=`${t}${(0,Fe.basename)(e,r)}${r}`;return(0,Fe.join)((0,Fe.dirname)(e),n)}function l(e,t){const r=(0,Fe.extname)(e),n=`${(0,Fe.basename)(e,r)}${t}${r}`;return(0,Fe.join)((0,Fe.dirname)(e),n)}function u(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function d(e){return"win32"===process.platform?e:"./"+e}function p(e){const t=(0,Fe.extname)(e).length;return e.slice(0,-t)}function h(e,t){return(e=>e&&e.__esModule?e.default:e)(_)(e,t)}function f(e,t){const r=(0,Fe.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+Fe.sep)||r===(0,Fe.resolve)(e))}e(t.exports,"addExeExt",(()=>a)),e(t.exports,"addShExt",(()=>u)),e(t.exports,"addShRelativePrefix",(()=>d)),e(t.exports,"delimiter",(()=>$3b34b48be461ec36$re_export$delimiter)),e(t.exports,"dirname",(()=>Fe.dirname)),e(t.exports,"join",(()=>Fe.join));var m={},g={};o(g,"name",(()=>s));var v={};o(v,"normalizeTrim",(()=>i));var x={};o(x,"addExeExt",(()=>a));var w={};o(w,"addNamePrefix",(()=>c));var y={};o(y,"addNameSuffix",(()=>l));var b={};o(b,"addShExt",(()=>u));var E={};o(E,"addShRelativePrefix",(()=>d));var S={};o(S,"removeExt",(()=>p));var _,O={};o(O,"replaceExt",(()=>h)),_=(e,t)=>{if("string"!=typeof e)return e;if(0===e.length)return e;var r,n=(0,Fe.basename)(e,(0,Fe.extname)(e))+t,o=(0,Fe.join)((0,Fe.dirname)(e),n);return(r=e.slice(0,2))==="."+Fe.sep||"./"===r?"."+Fe.sep+o:o};var $={};o($,"isPathInside",(()=>f)),n(m,g),n(m,v),n(m,x),n(m,w),n(m,y),n(m,b),n(m,E),n(m,S),n(m,O),n(m,$)})),st.register("bJALw",((e,t)=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")})),st.register("gmbrv",((e,t)=>{e.exports=()=>process.env.GERRIT_PROJECT?"gerrit":process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI?"azure-pipelines":process.env.BITRISE_IO?"bitrise":process.env.BUDDY_WORKSPACE_ID?"buddy":process.env.BUILDKITE?"buildkite":process.env.CIRRUS_CI?"cirrus":process.env.GITLAB_CI?"gitlab":process.env.APPVEYOR?"appveyor":process.env.CIRCLECI?"circle-ci":process.env.SEMAPHORE?"semaphore":process.env.DRONE?"drone":process.env.DSARI?"dsari":process.env.GITHUB_ACTION?"github-actions":process.env.TDDIUM?"tddium":process.env.SCREWDRIVER?"screwdriver":process.env.STRIDER?"strider":process.env.TASKCLUSTER_ROOT_URL?"taskcluster":process.env.JENKINS_URL?"jenkins":process.env["bamboo.buildKey"]?"bamboo":process.env.GO_PIPELINE_NAME?"gocd":process.env.HUDSON_URL?"hudson":process.env.WERCKER?"wercker":process.env.NETLIFY?"netlify":process.env.NOW_GITHUB_DEPLOYMENT?"now-github":process.env.GITLAB_DEPLOYMENT?"now-gitlab":process.env.BITBUCKET_DEPLOYMENT?"now-bitbucket":process.env.BITBUCKET_BUILD_NUMBER?"bitbucket-pipelines":process.env.NOW_BUILDER?"now":process.env.VERCEL_GITHUB_DEPLOYMENT?"vercel-github":process.env.VERCEL_GITLAB_DEPLOYMENT?"vercel-gitlab":process.env.VERCEL_BITBUCKET_DEPLOYMENT?"vercel-bitbucket":process.env.VERCEL_URL?"vercel":process.env.MAGNUM?"magnum":process.env.NEVERCODE?"nevercode":process.env.RENDER?"render":process.env.SAIL_CI?"sail":process.env.SHIPPABLE?"shippable":process.env.TEAMCITY_VERSION?"teamcity":process.env.CI_NAME?process.env.CI_NAME:/\/\.heroku\/node\/bin\/node$/.test(process.env.NODE||"")?"heroku":process.env.TRAVIS?"travis-ci":process.env.CODEBUILD_SRC_DIR?"aws-codebuild":"true"===process.env.CI||"1"===process.env.CI?"custom":!!process.env.BUILDER_OUTPUT&&"builder"})),st.register("pcnv8",((r,n)=>{function o(e){return"github-actions"===t(u)()?l.error(e):console.log(`${e}`)}function s(e){return console.log(`${e}`)}function i(e){return"github-actions"===t(u)()?l.warning(e):console.log(`${e}`)}function a(e){return"github-actions"===t(u)()?l.notice(e):console.log(`${e}`)}function c(e){return"github-actions"===t(u)()?l.info(e):console.log(e)}e(r.exports,"error",(()=>o)),e(r.exports,"success",(()=>s)),e(r.exports,"warning",(()=>i)),e(r.exports,"notice",(()=>a)),e(r.exports,"info",(()=>c));var l=st("04fde"),u=st("gmbrv")})),st.register("04fde",(function(e,t){"use strict";function r(e,t){const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return t&&!1===t.trimWhitespace?r:r.trim()}function n(e,t={}){u.issueCommand("error",p.toCommandProperties(t),e instanceof Error?""+e:e)}function o(e){u.issue("group",e)}function s(){u.issue("endgroup")}var i=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),a=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),c=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&i(t,e,r);return a(t,e),t}),l=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0;var u=st("2iva8"),d=st("kCOkT"),p=st("hGWy4");const h=c(Me),f=c(Fe);var m,g,v=st("1hWAC");(g=m=e.exports.ExitCode||(e.exports.ExitCode={}))[g.Success=0]="Success",g[g.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=p.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";d.issueCommand("ENV",`${e}<<${t}${h.EOL}${r}${h.EOL}${t}`)}else u.issueCommand("set-env",{name:e},r)},e.exports.setSecret=e=>{u.issueCommand("add-mask",{},e)},e.exports.addPath=e=>{process.env.GITHUB_PATH?d.issueCommand("PATH",e):u.issueCommand("add-path",{},e),process.env.PATH=`${e}${f.delimiter}${process.env.PATH}`},e.exports.getInput=r,e.exports.getMultilineInput=(e,t)=>r(e,t).split("\n").filter((e=>""!==e)),e.exports.getBooleanInput=(e,t)=>{const n=r(e,t);if(["true","True","TRUE"].includes(n))return!0;if(["false","False","FALSE"].includes(n))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)},e.exports.setOutput=(e,t)=>{process.stdout.write(h.EOL),u.issueCommand("set-output",{name:e},t)},e.exports.setCommandEcho=e=>{u.issue("echo",e?"on":"off")},e.exports.setFailed=e=>{process.exitCode=m.Failure,n(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=n,e.exports.warning=(e,t={})=>{u.issueCommand("warning",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.notice=(e,t={})=>{u.issueCommand("notice",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+h.EOL)},e.exports.startGroup=o,e.exports.endGroup=s,e.exports.group=function(e,t){return l(this,void 0,void 0,(function*(){let r;o(e);try{r=yield t()}finally{s()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||"",e.exports.getIDToken=function(e){return l(this,void 0,void 0,(function*(){return yield v.OidcClient.getIDToken(e)}))};var x=st("hILBc");Object.defineProperty(e.exports,"summary",{enumerable:!0,get(){return x.summary}}),x=st("hILBc"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get(){return x.markdownSummary}});var w=st("39f1T");Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get(){return w.toPosixPath}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get(){return w.toWin32Path}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get(){return w.toPlatformPath}})})),st.register("2iva8",(function(e,t){"use strict";function r(e,t,r){const n=new c(e,t,r);process.stdout.write(""+n+i.EOL)}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const i=s(Me);var a=st("hGWy4");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class c{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,a.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>a.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}})),st.register("hGWy4",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),e.exports.toCommandProperties=e=>Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),st.register("kCOkT",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const s=o(Be),i=o(Me);var a=st("hGWy4");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!s.existsSync(r))throw Error("Missing file at path: "+r);s.appendFileSync(r,`${a.toCommandValue(t)}${i.EOL}`,{encoding:"utf8"})}})),st.register("1hWAC",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=st("4z9RF"),o=st("7v249"),s=st("04fde");class i{static createHttpClient(e=!0,t=10){const r={allowRetries:e,maxRetries:t};return new n.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(i.getRequestToken())],r)}static getRequestToken(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){var t;return r(this,void 0,void 0,(function*(){const r=i.createHttpClient(),n=yield r.getJson(e).catch((e=>{throw Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)})),o=null===(t=n.result)||void 0===t?void 0:t.value;if(!o)throw Error("Response json body do not have ID Token field");return o}))}static getIDToken(e){return r(this,void 0,void 0,(function*(){try{let t=i.getIDTokenUrl();e&&(t=`${t}&audience=${encodeURIComponent(e)}`),s.debug("ID token url is "+t);const r=yield i.getCall(t);return s.setSecret(r),r}catch(e){throw Error("Error message: "+e.message)}}))}}e.exports.OidcClient=i})),st.register("hILBc",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;const{access:n,appendFile:o,writeFile:s}=Be.promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";const i=new class{constructor(){this._buffer=""}filePath(){return r(this,void 0,void 0,(function*(){if(this._filePath)return this._filePath;const t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield n(t,Be.constants.R_OK|Be.constants.W_OK)}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`}write(e){return r(this,void 0,void 0,(function*(){const t=!!(null==e?void 0:e.overwrite),r=yield this.filePath(),n=t?s:o;return yield n(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()}))}clear(){return r(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:!0})}))}stringify(){return this._buffer}isEmptyBuffer(){return 0===this._buffer.length}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(Me.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=!1){const r=t?"ol":"ul",n=e.map((e=>this.wrap("li",e))).join(""),o=this.wrap(r,n);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if("string"==typeof e)return this.wrap("td",e);const{header:t,data:r,colspan:n,rowspan:o}=e,s=t?"th":"td",i=Object.assign(Object.assign({},n&&{colspan:n}),o&&{rowspan:o});return this.wrap(s,r,i)})).join("");return this.wrap("tr",t)})).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:o}=r||{},s=Object.assign(Object.assign({},n&&{width:n}),o&&{height:o}),i=this.wrap("img",null,Object.assign({src:e,alt:t},s));return this.addRaw(i).addEOL()}addHeading(e,t){const r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",o=this.wrap(n,e);return this.addRaw(o).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}};e.exports.markdownSummary=i,e.exports.summary=i})),st.register("39f1T",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;const s=o(Fe);e.exports.toPosixPath=e=>e.replace(/[\\]/g,"/"),e.exports.toWin32Path=e=>e.replace(/[/]/g,"\\"),e.exports.toPlatformPath=e=>e.replace(/[/\\]/g,s.sep)})),st.register("fvrnx",(function(e,t){"use strict";function r(e){return u(this,void 0,void 0,(function*(){if(h.IS_WINDOWS){if(/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{const t=h.getCmdPath();(yield h.isDirectory(e,!0))?yield f(t+' /s /c "rd /s /q "%inputPath%""',{env:{inputPath:e}}):yield f(t+' /s /c "del /f /a "%inputPath%""',{env:{inputPath:e}})}catch(e){if("ENOENT"!==e.code)throw e}try{yield h.unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}else{let t=!1;try{t=yield h.isDirectory(e)}catch(e){if("ENOENT"!==e.code)throw e;return}t?yield m("rm",["-rf",""+e]):yield h.unlink(e)}}))}function n(e){return u(this,void 0,void 0,(function*(){Xe.ok(e,"a path argument must be provided"),yield h.mkdir(e,{recursive:!0})}))}function o(e){return u(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'tool' is required");const t=[];if(h.IS_WINDOWS&&process.env.PATHEXT)for(const e of process.env.PATHEXT.split(p.delimiter))e&&t.push(e);if(h.isRooted(e)){const r=yield h.tryGetExecutablePath(e,t);return r?[r]:[]}if(e.includes(p.sep))return[];const r=[];if(process.env.PATH)for(const e of process.env.PATH.split(p.delimiter))e&&r.push(e);const n=[];for(const o of r){const r=yield h.tryGetExecutablePath(p.join(o,e),t);r&&n.push(r)}return n}))}function s(e,t,r,o){return u(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield n(t);const a=yield h.readdir(e);for(const n of a){const a=`${e}/${n}`,c=`${t}/${n}`;(yield h.lstat(a)).isDirectory()?yield s(a,c,r,o):yield i(a,c,o)}yield h.chmod(t,(yield h.stat(e)).mode)}))}function i(e,t,r){return u(this,void 0,void 0,(function*(){if((yield h.lstat(e)).isSymbolicLink()){try{yield h.lstat(t),yield h.unlink(t)}catch(e){"EPERM"===e.code&&(yield h.chmod(t,"0666"),yield h.unlink(t))}const r=yield h.readlink(e);yield h.symlink(r,t,h.IS_WINDOWS?"junction":null)}else(yield h.exists(t))&&!r||(yield h.copyFile(e,t))}))}var a=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),c=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),l=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&a(t,e,r);return c(t,e),t}),u=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.findInPath=e.exports.which=e.exports.mkdirP=e.exports.rmRF=e.exports.mv=e.exports.cp=void 0;const d=l(Ye),p=l(Fe),h=l(st("2GOko")),f=We.promisify(d.exec),m=We.promisify(d.execFile);e.exports.cp=function(e,t,r={}){return u(this,void 0,void 0,(function*(){const{force:n,recursive:o,copySourceDirectory:a}=(e=>({force:null==e.force||e.force,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory}))(r),c=(yield h.exists(t))?yield h.stat(t):null;if(c&&c.isFile()&&!n)return;const l=c&&c.isDirectory()&&a?p.join(t,p.basename(e)):t;if(!(yield h.exists(e)))throw Error("no such file or directory: "+e);if((yield h.stat(e)).isDirectory()){if(!o)throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield s(e,l,0,n)}else{if(""===p.relative(e,l))throw Error(`'${l}' and '${e}' are the same file`);yield i(e,l,n)}}))},e.exports.mv=function(e,t,o={}){return u(this,void 0,void 0,(function*(){if(yield h.exists(t)){let n=!0;if((yield h.isDirectory(t))&&(t=p.join(t,p.basename(e)),n=yield h.exists(t)),n){if(null!=o.force&&!o.force)throw Error("Destination already exists");yield r(t)}}yield n(p.dirname(t)),yield h.rename(e,t)}))},e.exports.rmRF=r,e.exports.mkdirP=n,e.exports.which=function e(t,r){return u(this,void 0,void 0,(function*(){if(!t)throw Error("parameter 'tool' is required");if(r){const r=yield e(t,!1);if(!r)throw Error(h.IS_WINDOWS?`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`:`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return r}const n=yield o(t);return n&&n.length>0?n[0]:""}))},e.exports.findInPath=o})),st.register("2GOko",(function(e,t){"use strict";function r(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid()}var n,o=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),s=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),i=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&o(t,e,r);return s(t,e),t}),a=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getCmdPath=e.exports.tryGetExecutablePath=e.exports.isRooted=e.exports.isDirectory=e.exports.exists=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;const c=i(Be),l=i(Fe);e.exports.chmod=(n=c.promises).chmod,e.exports.copyFile=n.copyFile,e.exports.lstat=n.lstat,e.exports.mkdir=n.mkdir,e.exports.readdir=n.readdir,e.exports.readlink=n.readlink,e.exports.rename=n.rename,e.exports.rmdir=n.rmdir,e.exports.stat=n.stat,e.exports.symlink=n.symlink,e.exports.unlink=n.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.exists=function(t){return a(this,void 0,void 0,(function*(){try{yield e.exports.stat(t)}catch(e){if("ENOENT"===e.code)return!1;throw e}return!0}))},e.exports.isDirectory=function(t,r=!1){return a(this,void 0,void 0,(function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory()}))},e.exports.isRooted=t=>{if(!(t=(t=>(t=t||"",e.exports.IS_WINDOWS?(t=t.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):t.replace(/\/\/+/g,"/")))(t)))throw Error('isRooted() parameter "p" cannot be empty');return e.exports.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")},e.exports.tryGetExecutablePath=function(t,n){return a(this,void 0,void 0,(function*(){let o;try{o=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(o&&o.isFile())if(e.exports.IS_WINDOWS){const e=l.extname(t).toUpperCase();if(n.some((t=>t.toUpperCase()===e)))return t}else if(r(o))return t;const s=t;for(const i of n){t=s+i,o=void 0;try{o=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(o&&o.isFile()){if(e.exports.IS_WINDOWS){try{const r=l.dirname(t),n=l.basename(t).toUpperCase();for(const o of yield e.exports.readdir(r))if(n===o.toUpperCase()){t=l.join(r,o);break}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`)}return t}if(r(o))return t}}return""}))},e.exports.getCmdPath=()=>{var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe"}})),st.register("6kHxT",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;const i=o(st("4URNm"));var a=st("enS5B");e.exports._findMatch=function(t,r,n,o){return s(this,void 0,void 0,(function*(){const s=Me.platform();let c,l,u;for(const c of n){const n=c.version;if(a.debug(`check ${n} satisfies ${t}`),i.satisfies(n,t)&&(!r||c.stable===r)&&(u=c.files.find((t=>{a.debug(`${t.arch}===${o} && ${t.platform}===${s}`);let r=t.arch===o&&t.platform===s;if(r&&t.platform_version){const n=e.exports._getOsVersion();r=n===t.platform_version||i.satisfies(n,t.platform_version)}return r})),u)){a.debug("matched "+c.version),l=c;break}}return l&&u&&(c=Object.assign({},l),c.files=[u]),c}))},e.exports._getOsVersion=()=>{const t=Me.platform();let r="";if("darwin"===t)r=""+Ye.execSync("sw_vers -productVersion");else if("linux"===t){const t=e.exports._readLinuxVersionFile();if(t){const e=t.split("\n");for(const t of e){const e=t.split("=");if(2===e.length&&("VERSION_ID"===e[0].trim()||"DISTRIB_RELEASE"===e[0].trim())){r=e[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return r},e.exports._readLinuxVersionFile=()=>{const e="/etc/lsb-release",t="/etc/os-release";let r="";return Be.existsSync(e)?r=""+Be.readFileSync(e):Be.existsSync(t)&&(r=""+Be.readFileSync(t)),r}})),st.register("4URNm",((e,t)=>{var r=st("bikcG");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:st("bgOMw").SEMVER_SPEC_VERSION,SemVer:st("7qUJS"),compareIdentifiers:st("12NXI").compareIdentifiers,rcompareIdentifiers:st("12NXI").rcompareIdentifiers,parse:st("gdrva"),valid:st("fVzwP"),clean:st("hOYls"),inc:st("dGcr6"),diff:st("bBssn"),major:st("fB2B7"),minor:st("bye2i"),patch:st("87ZGF"),prerelease:st("4agny"),compare:st("howpO"),rcompare:st("zcbgY"),compareLoose:st("iGBo4"),compareBuild:st("80ezM"),sort:st("4qmtg"),rsort:st("4pjXu"),gt:st("6KPS4"),lt:st("lr5pz"),eq:st("jXghC"),neq:st("fqqGA"),gte:st("5cRW4"),lte:st("fwsB7"),cmp:st("823yM"),coerce:st("1YYsi"),Comparator:st("eR6XK"),Range:st("hvUff"),satisfies:st("c8FZS"),toComparators:st("2J2hR"),maxSatisfying:st("lbfMG"),minSatisfying:st("5wbuE"),minVersion:st("hZRNG"),validRange:st("fqnzG"),outside:st("77bPN"),gtr:st("gD8Tz"),ltr:st("bpPww"),intersects:st("cHIUn"),simplifyRange:st("k8aCs"),subset:st("388OD")}})),st.register("bikcG",((e,t)=>{var r=st("bgOMw").MAX_SAFE_COMPONENT_LENGTH,n=st("jkMsx");const o=(t=e.exports={}).re=[],s=t.src=[],i=t.t={};let a=0;const c=(e,t,r)=>{const c=a++;n(e,c,t),i[e]=c,s[c]=t,o[c]=RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${s[i.NUMERICIDENTIFIER]}|${s[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${s[i.NUMERICIDENTIFIERLOOSE]}|${s[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${s[i.PRERELEASEIDENTIFIER]}(?:\\.${s[i.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${s[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[i.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${s[i.BUILDIDENTIFIER]}(?:\\.${s[i.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${s[i.MAINVERSION]}${s[i.PRERELEASE]}?${s[i.BUILD]}?`),c("FULL",`^${s[i.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${s[i.MAINVERSIONLOOSE]}${s[i.PRERELEASELOOSE]}?${s[i.BUILD]}?`),c("LOOSE",`^${s[i.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",s[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),c("XRANGEIDENTIFIER",s[i.NUMERICIDENTIFIER]+"|x|X|\\*"),c("XRANGEPLAIN",`[v=\\s]*(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:${s[i.PRERELEASE]})?${s[i.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:${s[i.PRERELEASELOOSE]})?${s[i.BUILD]}?)?)?`),c("XRANGE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",s[i.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${s[i.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${s[i.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${s[i.LONECARET]}${s[i.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${s[i.LONECARET]}${s[i.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${s[i.GTLT]}\\s*(${s[i.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]}|${s[i.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${s[i.XRANGEPLAIN]})\\s+-\\s+(${s[i.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${s[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[i.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})),st.register("bgOMw",((e,t)=>{e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16}})),st.register("jkMsx",((e,t)=>{const r=("object"==typeof process&&process,()=>{});e.exports=r})),st.register("7qUJS",(function(e,t){var r=st("jkMsx"),n=st("bgOMw"),o=n.MAX_LENGTH,s=n.MAX_SAFE_INTEGER,i=st("bikcG"),a=i.re,c=i.t,l=st("eUvvN"),u=st("12NXI").compareIdentifiers;class d{constructor(e,t){if(t=l(t),e instanceof d){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[c.LOOSE]:a[c.FULL]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>s||0>this.major)throw new TypeError("Invalid major version");if(this.minor>s||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>s||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=n[4]?n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&s>t)return t}return e})):[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof d)){if("string"==typeof e&&e===this.version)return 0;e=new d(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof d||(e=new d(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}while(++t)}compareBuild(e){e instanceof d||(e=new d(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=d})),st.register("eUvvN",((e,t)=>{const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}})),st.register("12NXI",((e,t)=>{const r=/^[0-9]+$/,n=(e,t)=>{const n=r.test(e),o=r.test(t);return n&&o&&(e=+e,t=+t),e===t?0:n&&!o?-1:o&&!n?1:t>e?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers(e,t){return n(t,e)}}})),st.register("gdrva",((e,t)=>{var r=st("bgOMw").MAX_LENGTH,n=st("bikcG"),o=n.re,s=n.t,i=st("7qUJS"),a=st("eUvvN");e.exports=(e,t)=>{if(t=a(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?o[s.LOOSE]:o[s.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}})),st.register("fVzwP",((e,t)=>{var r=st("gdrva");e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}})),st.register("hOYls",((e,t)=>{var r=st("gdrva");e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}})),st.register("dGcr6",((e,t)=>{var r=st("7qUJS");e.exports=(e,t,n,o)=>{"string"==typeof n&&(o=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,o).version}catch(e){return null}}})),st.register("bBssn",((e,t)=>{var r=st("gdrva"),n=st("jXghC");e.exports=(e,t)=>{if(n(e,t))return null;{const n=r(e),o=r(t),s=n.prerelease.length||o.prerelease.length,i=s?"pre":"",a=s?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==o[e])return i+e;return a}}})),st.register("jXghC",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0===r(e,t,n)})),st.register("howpO",((e,t)=>{var r=st("7qUJS");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))})),st.register("fB2B7",((e,t)=>{var r=st("7qUJS");e.exports=(e,t)=>new r(e,t).major})),st.register("bye2i",((e,t)=>{var r=st("7qUJS");e.exports=(e,t)=>new r(e,t).minor})),st.register("87ZGF",((e,t)=>{var r=st("7qUJS");e.exports=(e,t)=>new r(e,t).patch})),st.register("4agny",((e,t)=>{var r=st("gdrva");e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}})),st.register("zcbgY",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>r(t,e,n)})),st.register("iGBo4",((e,t)=>{var r=st("howpO");e.exports=(e,t)=>r(e,t,!0)})),st.register("80ezM",((e,t)=>{var r=st("7qUJS");e.exports=(e,t,n)=>{const o=new r(e,n),s=new r(t,n);return o.compare(s)||o.compareBuild(s)}})),st.register("4qmtg",((e,t)=>{var r=st("80ezM");e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))})),st.register("4pjXu",((e,t)=>{var r=st("80ezM");e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))})),st.register("6KPS4",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>r(e,t,n)>0})),st.register("lr5pz",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0>r(e,t,n)})),st.register("fqqGA",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0!==r(e,t,n)})),st.register("5cRW4",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>r(e,t,n)>=0})),st.register("fwsB7",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0>=r(e,t,n)})),st.register("823yM",((e,t)=>{var r=st("jXghC"),n=st("fqqGA"),o=st("6KPS4"),s=st("5cRW4"),i=st("lr5pz"),a=st("fwsB7");e.exports=(e,t,c,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e===c;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e!==c;case"":case"=":case"==":return r(e,c,l);case"!=":return n(e,c,l);case">":return o(e,c,l);case">=":return s(e,c,l);case"<":return i(e,c,l);case"<=":return a(e,c,l);default:throw new TypeError("Invalid operator: "+t)}}})),st.register("1YYsi",((e,t)=>{var r=st("7qUJS"),n=st("gdrva"),o=st("bikcG"),s=o.re,i=o.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let o=null;if((t=t||{}).rtl){let t;for(;(t=s[i.COERCERTL].exec(e))&&(!o||o.index+o[0].length!==e.length);)o&&t.index+t[0].length===o.index+o[0].length||(o=t),s[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;s[i.COERCERTL].lastIndex=-1}else o=e.match(s[i.COERCE]);return null===o?null:n(`${o[2]}.${o[3]||"0"}.${o[4]||"0"}`,t)}})),st.register("eR6XK",(function(e,t){const r=Symbol();class n{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===r?"":this.operator+this.semver.version,l("comp",this)}parse(e){const t=e.match(this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new u(t[2],this.options.loose):r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new d(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new d(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),s=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||s&&i||a||l}}e.exports=n;var o=st("eUvvN"),s=st("bikcG"),i=s.re,a=s.t,c=st("823yM"),l=st("jkMsx"),u=st("7qUJS"),d=st("hvUff")})),st.register("hvUff",(function(e,t){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=n.get(t);if(r)return r;const o=this.options.loose;e=e.replace(o?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE],T(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),i("comparator trim",e);let a=(e=(e=(e=e.replace(l[u.TILDETRIM],p)).replace(l[u.CARETTRIM],h)).split(/\s+/).join(" ")).split(" ").map((e=>v(e,this.options))).join(" ").split(/\s+/).map((e=>$(e,this.options)));o&&(a=a.filter((e=>(i("loose invalid filter",e,this.options),!!e.match(l[u.COMPARATORLOOSE]))))),i("range list",a);const c=new Map,m=a.map((e=>new s(e,this.options)));for(const e of m){if(f(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const g=[...c.values()];return n.set(t,g),g}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((r=>g(r,t)&&e.set.some((e=>g(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new a(e,this.options)}catch(e){return!1}for(let t=0;this.set.length>t;t++)if(C(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const n=new(st("6MLkQ"))({max:1e3});var o=st("eUvvN"),s=st("eR6XK"),i=st("jkMsx"),a=st("7qUJS"),c=st("bikcG"),l=c.re,u=c.t,d=c.comparatorTrimReplace,p=c.tildeTrimReplace,h=c.caretTrimReplace;const f=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,g=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every((e=>o.intersects(e,t))),o=n.pop();return r},v=(e,t)=>(i("comp",e,t),e=b(e,t),i("caret",e),e=w(e,t),i("tildes",e),e=S(e,t),i("xrange",e),e=O(e,t),i("stars",e),e),x=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>e.replace(t.loose?l[u.TILDELOOSE]:l[u.TILDE],((t,r,n,o,s)=>{let a;return i("tilde",e,t,r,n,o,s),x(r)?a="":x(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:x(o)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(i("replaceTilde pr",s),a=`>=${r}.${n}.${o}-${s} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,i("tilde return",a),a})),b=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{i("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?l[u.CARETLOOSE]:l[u.CARET],((t,n,o,s,a)=>{let c;return i("caret",e,t,n,o,s,a),x(n)?c="":x(o)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:x(s)?c="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(i("replaceCaret pr",a),c="0"===n?"0"===o?`>=${n}.${o}.${s}-${a} <${n}.${o}.${+s+1}-0`:`>=${n}.${o}.${s}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${s}-${a} <${+n+1}.0.0-0`):(i("no pr"),c="0"===n?"0"===o?`>=${n}.${o}.${s}${r} <${n}.${o}.${+s+1}-0`:`>=${n}.${o}.${s}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${s} <${+n+1}.0.0-0`),i("caret return",c),c}))},S=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map((e=>_(e,t))).join(" ")),_=(e,t)=>(e=e.trim()).replace(t.loose?l[u.XRANGELOOSE]:l[u.XRANGE],((r,n,o,s,a,c)=>{i("xRange",e,r,n,o,s,a,c);const l=x(o),u=l||x(s),d=u||x(a);return"="===n&&d&&(n=""),c=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(u&&(s=0),a=0,">"===n?(n=">=",u?(o=+o+1,s=0,a=0):(s=+s+1,a=0)):"<="===n&&(n="<",u?o=+o+1:s=+s+1),"<"===n&&(c="-0"),r=`${n+o}.${s}.${a}${c}`):u?r=`>=${o}.0.0${c} <${+o+1}.0.0-0`:d&&(r=`>=${o}.${s}.0${c} <${o}.${+s+1}.0-0`),i("xRange return",r),r})),O=(e,t)=>(i("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),$=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,r,n,o,s,i,a,c,l,u,d,p,h)=>`${r=x(n)?"":x(o)?`>=${n}.0.0${e?"-0":""}`:x(s)?`>=${n}.${o}.0${e?"-0":""}`:i?">="+r:`>=${r}${e?"-0":""}`} ${c=x(l)?"":x(u)?`<${+l+1}.0.0-0`:x(d)?`<${l}.${+u+1}.0-0`:p?`<=${l}.${u}.${d}-${p}`:e?`<${l}.${u}.${+d+1}-0`:"<="+c}`.trim(),C=(e,t,r)=>{for(let r=0;e.length>r;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;e.length>r;r++)if(i(e[r].semver),e[r].semver!==s.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}})),st.register("6MLkQ",(function(e,t){const r="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,n="undefined"!=typeof AbortController?AbortController:Object.assign(class{constructor(){this.signal=new n.AbortSignal}abort(){this.signal.aborted=!0}},{AbortSignal:class{constructor(){this.aborted=!1}}}),o=new Set,s=(e,t)=>{const r="LRU_CACHE_OPTION_"+e;c(r)&&l(r,e+" option","options."+t,f)},i=(e,t)=>{const r="LRU_CACHE_METHOD_"+e;if(c(r)){const{prototype:n}=f,{get:o}=Object.getOwnPropertyDescriptor(n,e);l(r,e+" method",`cache.${t}()`,o)}},a=(...e)=>{"object"==typeof process&&process&&"function"==typeof process.emitWarning?process.emitWarning(...e):console.error(...e)},c=e=>!o.has(e),l=(e,t,r,n)=>{o.add(e),a(`The ${t} is deprecated. Please use ${r} instead.`,"DeprecationWarning",e,n)},u=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),d=e=>u(e)?e>256?e>65536?e>4294967296?e>Number.MAX_SAFE_INTEGER?null:p:Uint32Array:Uint16Array:Uint8Array:null;class p extends Array{constructor(e){super(e),this.fill(0)}}class h{constructor(e){if(0===e)return[];const t=d(e);this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class f{constructor(e={}){const{max:t=0,ttl:r,ttlResolution:n=1,ttlAutopurge:i,updateAgeOnGet:l,updateAgeOnHas:p,allowStale:m,dispose:g,disposeAfter:v,noDisposeOnSet:x,noUpdateTTL:w,maxSize:y=0,sizeCalculation:b,fetchMethod:E}=e,{length:S,maxAge:_,stale:O}=e instanceof f?{}:e;if(0!==t&&!u(t))throw new TypeError("max option must be a nonnegative integer");const $=t?d(t):Array;if(!$)throw Error("invalid max value: "+t);if(this.max=t,this.maxSize=y,this.sizeCalculation=b||S,this.sizeCalculation){if(!this.maxSize)throw new TypeError("cannot set sizeCalculation without setting maxSize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=E||null,this.fetchMethod&&"function"!=typeof this.fetchMethod)throw new TypeError("fetchMethod must be a function if specified");if(this.keyMap=new Map,this.keyList=Array(t).fill(null),this.valList=Array(t).fill(null),this.next=new $(t),this.prev=new $(t),this.head=0,this.tail=0,this.free=new h(t),this.initialFill=1,this.size=0,"function"==typeof g&&(this.dispose=g),"function"==typeof v?(this.disposeAfter=v,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!x,this.noUpdateTTL=!!w,0!==this.maxSize){if(!u(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!m||!!O,this.updateAgeOnGet=!!l,this.updateAgeOnHas=!!p,this.ttlResolution=u(n)||0===n?n:1,this.ttlAutopurge=!!i,this.ttl=r||_||0,this.ttl){if(!u(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(0===this.max&&0===this.ttl&&0===this.maxSize)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const e="LRU_CACHE_UNBOUNDED";c(e)&&(o.add(e),a("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e,f))}O&&s("stale","allowStale"),_&&s("maxAge","ttl"),S&&s("length","sizeCalculation")}getRemainingTTL(e){return this.has(e,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new p(this.max),this.starts=new p(this.max),this.setItemTTL=(e,t)=>{if(this.starts[e]=0!==t?r.now():0,this.ttls[e]=t,0!==t&&this.ttlAutopurge){const r=setTimeout((()=>{this.isStale(e)&&this.delete(this.keyList[e])}),t+1);r.unref&&r.unref()}},this.updateItemAge=e=>{this.starts[e]=0!==this.ttls[e]?r.now():0};let e=0;const t=()=>{const t=r.now();if(this.ttlResolution>0){e=t;const r=setTimeout((()=>e=0),this.ttlResolution);r.unref&&r.unref()}return t};this.getRemainingTTL=r=>{const n=this.keyMap.get(r);return void 0===n?0:0===this.ttls[n]||0===this.starts[n]?1/0:this.starts[n]+this.ttls[n]-(e||t())},this.isStale=r=>0!==this.ttls[r]&&0!==this.starts[r]&&(e||t())-this.starts[r]>this.ttls[r]}updateItemAge(e){}setItemTTL(e,t){}isStale(e){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new p(this.max),this.removeItemSize=e=>this.calculatedSize-=this.sizes[e],this.requireSize=(e,t,r,n)=>{if(!u(r)){if(!n)throw new TypeError("invalid size value (must be positive integer)");if("function"!=typeof n)throw new TypeError("sizeCalculation must be a function");if(r=n(t,e),!u(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return r},this.addItemSize=(e,t,r,n)=>{this.sizes[e]=n;const o=this.maxSize-this.sizes[e];for(;this.calculatedSize>o;)this.evict(!0);this.calculatedSize+=this.sizes[e]},this.delete=e=>{if(0!==this.size){const t=this.keyMap.get(e);void 0!==t&&(this.calculatedSize-=this.sizes[t])}return f.prototype.delete.call(this,e)}}removeItemSize(e){}addItemSize(e,t,r,n){}requireSize(e,t,r,n){if(r||n)throw new TypeError("cannot set size without setting maxSize on cache")}*indexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.tail;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.head);)t=this.prev[t]}*rindexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.head;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.tail);)t=this.next[t]}isValidIndex(e){return this.keyMap.get(this.keyList[e])===e}*entries(){for(const e of this.indexes())yield[this.keyList[e],this.valList[e]]}*rentries(){for(const e of this.rindexes())yield[this.keyList[e],this.valList[e]]}*keys(){for(const e of this.indexes())yield this.keyList[e]}*rkeys(){for(const e of this.rindexes())yield this.keyList[e]}*values(){for(const e of this.indexes())yield this.valList[e]}*rvalues(){for(const e of this.rindexes())yield this.valList[e]}[Symbol.iterator](){return this.entries()}find(e,t={}){for(const r of this.indexes())if(e(this.valList[r],this.keyList[r],this))return this.get(this.keyList[r],t)}forEach(e,t=this){for(const r of this.indexes())e.call(t,this.valList[r],this.keyList[r],this)}rforEach(e,t=this){for(const r of this.rindexes())e.call(t,this.valList[r],this.keyList[r],this)}get prune(){return i("prune","purgeStale"),this.purgeStale}purgeStale(){let e=!1;for(const t of this.rindexes({allowStale:!0}))this.isStale(t)&&(this.delete(this.keyList[t]),e=!0);return e}dump(){const e=[];for(const t of this.indexes()){const r=this.keyList[t],n={value:this.valList[t]};this.ttls&&(n.ttl=this.ttls[t]),this.sizes&&(n.size=this.sizes[t]),e.unshift([r,n])}return e}load(e){this.clear();for(const[t,r]of e)this.set(t,r.value,r)}dispose(e,t,r){}set(e,t,{ttl:r=this.ttl,noDisposeOnSet:n=this.noDisposeOnSet,size:o=0,sizeCalculation:s=this.sizeCalculation,noUpdateTTL:i=this.noUpdateTTL}={}){o=this.requireSize(e,t,o,s);let a=0===this.size?void 0:this.keyMap.get(e);if(void 0===a)a=this.newIndex(),this.keyList[a]=e,this.valList[a]=t,this.keyMap.set(e,a),this.next[this.tail]=a,this.prev[a]=this.tail,this.tail=a,this.size++,this.addItemSize(a,t,e,o),i=!1;else{const r=this.valList[a];t!==r&&(this.isBackgroundFetch(r)?r.__abortController.abort():n||(this.dispose(r,e,"set"),this.disposeAfter&&this.disposed.push([r,e,"set"])),this.removeItemSize(a),this.valList[a]=t,this.addItemSize(a,t,e,o)),this.moveToTail(a)}if(0===r||0!==this.ttl||this.ttls||this.initializeTTLTracking(),i||this.setItemTTL(a,r),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return 0===this.size?this.tail:this.size===this.max&&0!==this.max?this.evict(!1):0!==this.free.length?this.free.pop():this.initialFill++}pop(){if(this.size){const e=this.valList[this.head];return this.evict(!0),e}}evict(e){const t=this.head,r=this.keyList[t],n=this.valList[t];return this.isBackgroundFetch(n)?n.__abortController.abort():(this.dispose(n,r,"evict"),this.disposeAfter&&this.disposed.push([n,r,"evict"])),this.removeItemSize(t),e&&(this.keyList[t]=null,this.valList[t]=null,this.free.push(t)),this.head=this.next[t],this.keyMap.delete(r),this.size--,t}has(e,{updateAgeOnHas:t=this.updateAgeOnHas}={}){const r=this.keyMap.get(e);return void 0!==r&&!this.isStale(r)&&(t&&this.updateItemAge(r),!0)}peek(e,{allowStale:t=this.allowStale}={}){const r=this.keyMap.get(e);if(void 0!==r&&(t||!this.isStale(r)))return this.valList[r]}backgroundFetch(e,t,r){const o=void 0===t?void 0:this.valList[t];if(this.isBackgroundFetch(o))return o;const s=new n,i={signal:s.signal,options:r},a=Promise.resolve(this.fetchMethod(e,o,i)).then((t=>(s.signal.aborted||this.set(e,t,i.options),t)));return a.__abortController=s,a.__staleWhileFetching=o,void 0===t?(this.set(e,a,i.options),t=this.keyMap.get(e)):this.valList[t]=a,a}isBackgroundFetch(e){return e&&"object"==typeof e&&"function"==typeof e.then&&{}.hasOwnProperty.call(e,"__staleWhileFetching")}async fetch(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,ttl:n=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:s=0,sizeCalculation:i=this.sizeCalculation,noUpdateTTL:a=this.noUpdateTTL}={}){if(!this.fetchMethod)return this.get(e,{allowStale:t,updateAgeOnGet:r});const c={allowStale:t,updateAgeOnGet:r,ttl:n,noDisposeOnSet:o,size:s,sizeCalculation:i,noUpdateTTL:a};let l=this.keyMap.get(e);if(void 0===l)return this.backgroundFetch(e,l,c);{const n=this.valList[l];if(this.isBackgroundFetch(n))return t&&void 0!==n.__staleWhileFetching?n.__staleWhileFetching:n;if(!this.isStale(l))return this.moveToTail(l),r&&this.updateItemAge(l),n;const o=this.backgroundFetch(e,l,c);return t&&void 0!==o.__staleWhileFetching?o.__staleWhileFetching:o}}get(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet}={}){const n=this.keyMap.get(e);if(void 0!==n){const o=this.valList[n],s=this.isBackgroundFetch(o);if(this.isStale(n))return s?t?o.__staleWhileFetching:void 0:(this.delete(e),t?o:void 0);if(s)return;return this.moveToTail(n),r&&this.updateItemAge(n),o}}connect(e,t){this.prev[t]=e,this.next[e]=t}moveToTail(e){e!==this.tail&&(e===this.head?this.head=this.next[e]:this.connect(this.prev[e],this.next[e]),this.connect(this.tail,e),this.tail=e)}get del(){return i("del","delete"),this.delete}delete(e){let t=!1;if(0!==this.size){const r=this.keyMap.get(e);if(void 0!==r)if(t=!0,1===this.size)this.clear();else{this.removeItemSize(r);const t=this.valList[r];this.isBackgroundFetch(t)?t.__abortController.abort():(this.dispose(t,e,"delete"),this.disposeAfter&&this.disposed.push([t,e,"delete"])),this.keyMap.delete(e),this.keyList[r]=null,this.valList[r]=null,r===this.tail?this.tail=this.prev[r]:r===this.head?this.head=this.next[r]:(this.next[this.prev[r]]=this.next[r],this.prev[this.next[r]]=this.prev[r]),this.size--,this.free.push(r)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return t}clear(){for(const e of this.rindexes({allowStale:!0})){const t=this.valList[e];if(this.isBackgroundFetch(t))t.__abortController.abort();else{const r=this.keyList[e];this.dispose(t,r,"delete"),this.disposeAfter&&this.disposed.push([t,r,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return i("reset","clear"),this.clear}get length(){return((e,t)=>{const r="LRU_CACHE_PROPERTY_length";if(c(r)){const{prototype:e}=f,{get:t}=Object.getOwnPropertyDescriptor(e,"length");l(r,"length property","cache.size",t)}})(),this.size}}e.exports=f})),st.register("c8FZS",((e,t)=>{var r=st("hvUff");e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}})),st.register("2J2hR",((e,t)=>{var r=st("hvUff");e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))})),st.register("lbfMG",((e,t)=>{var r=st("7qUJS"),n=st("hvUff");e.exports=(e,t,o)=>{let s=null,i=null,a=null;try{a=new n(t,o)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&-1!==i.compare(e)||(s=e,i=new r(s,o)))})),s}})),st.register("5wbuE",((e,t)=>{var r=st("7qUJS"),n=st("hvUff");e.exports=(e,t,o)=>{let s=null,i=null,a=null;try{a=new n(t,o)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&1!==i.compare(e)||(s=e,i=new r(s,o)))})),s}})),st.register("hZRNG",((e,t)=>{var r=st("7qUJS"),n=st("hvUff"),o=st("6KPS4");e.exports=(e,t)=>{e=new n(e,t);let s=new r("0.0.0");if(e.test(s))return s;if(s=new r("0.0.0-0"),e.test(s))return s;s=null;for(let t=0;e.set.length>t;++t){let n=null;e.set[t].forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!o(t,n)||(n=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!n||s&&!o(s,n)||(s=n)}return s&&e.test(s)?s:null}})),st.register("fqnzG",((e,t)=>{var r=st("hvUff");e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}})),st.register("77bPN",((e,t)=>{var r=st("7qUJS"),n=st("eR6XK");const{ANY:o}=n;var s=st("hvUff"),i=st("c8FZS"),a=st("6KPS4"),c=st("lr5pz"),l=st("fwsB7"),u=st("5cRW4");e.exports=(e,t,d,p)=>{let h,f,m,g,v;switch(e=new r(e,p),t=new s(t,p),d){case">":h=a,f=l,m=c,g=">",v=">=";break;case"<":h=c,f=u,m=a,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,p))return!1;for(let r=0;t.set.length>r;++r){let s=null,i=null;if(t.set[r].forEach((e=>{e.semver===o&&(e=new n(">=0.0.0")),s=s||e,i=i||e,h(e.semver,s.semver,p)?s=e:m(e.semver,i.semver,p)&&(i=e)})),s.operator===g||s.operator===v)return!1;if((!i.operator||i.operator===g)&&f(e,i.semver))return!1;if(i.operator===v&&m(e,i.semver))return!1}return!0}})),st.register("gD8Tz",((e,t)=>{var r=st("77bPN");e.exports=(e,t,n)=>r(e,t,">",n)})),st.register("bpPww",((e,t)=>{var r=st("77bPN");e.exports=(e,t,n)=>r(e,t,"<",n)})),st.register("cHIUn",((e,t)=>{var r=st("hvUff");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))})),st.register("k8aCs",((e,t)=>{var r=st("c8FZS"),n=st("howpO");e.exports=(e,t,o)=>{const s=[];let i=null,a=null;const c=e.sort(((e,t)=>n(e,t,o)));for(const e of c)r(e,t,o)?(a=e,i||(i=e)):(a&&s.push([i,a]),a=null,i=null);i&&s.push([i,null]);const l=[];for(const[e,t]of s)l.push(e===t?e:t||e!==c[0]?t?e===c[0]?"<="+t:`${e} - ${t}`:">="+e:"*");const u=l.join(" || ");return("string"==typeof t.raw?t.raw:t+"").length>u.length?u:t}})),st.register("388OD",((e,t)=>{var r=st("hvUff"),n=st("eR6XK");const{ANY:o}=n;var s=st("c8FZS"),i=st("howpO");const a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?[new n(">=0.0.0-0")]:[new n(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=[new n(">=0.0.0")]}const a=new Set;let u,d,p,h,f,m,g;for(const t of e)">"===t.operator||">="===t.operator?u=c(u,t,r):"<"===t.operator||"<="===t.operator?d=l(d,t,r):a.add(t.semver);if(a.size>1)return null;if(u&&d){if(p=i(u.semver,d.semver,r),p>0)return null;if(0===p&&(">="!==u.operator||"<="!==d.operator))return null}for(const e of a){if(u&&!s(e,u+"",r))return null;if(d&&!s(e,d+"",r))return null;for(const n of t)if(!s(e,n+"",r))return!1;return!0}let v=!(!d||r.includePrerelease||!d.semver.prerelease.length)&&d.semver,x=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver;v&&1===v.prerelease.length&&"<"===d.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,u)if(x&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===x.major&&e.semver.minor===x.minor&&e.semver.patch===x.patch&&(x=!1),">"===e.operator||">="===e.operator){if(h=c(u,e,r),h===e&&h!==u)return!1}else if(">="===u.operator&&!s(u.semver,e+"",r))return!1;if(d)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(f=l(d,e,r),f===e&&f!==d)return!1}else if("<="===d.operator&&!s(d.semver,e+"",r))return!1;if(!e.operator&&(d||u)&&0!==p)return!1}return!(u&&m&&!d&&0!==p||d&&g&&!u&&0!==p||x||v)},c=(e,t,r)=>{if(!e)return t;const n=i(e.semver,t.semver,r);return n>0?e:0>n||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const n=i(e.semver,t.semver,r);return 0>n?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=a(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}})),st.register("iFKS7",((e,t)=>{var r=st("joDHm"),n=st("inTPA");e.exports=(e,t,o)=>{var s=t&&o||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var a=0;16>a;++a)t[s+a]=i[a];return t||n(i)}})),st.register("joDHm",((e,t)=>{e.exports=()=>Ge.randomBytes(16)})),st.register("inTPA",((e,t)=>{for(var r=[],n=0;256>n;++n)r[n]=(n+256).toString(16).substr(1);e.exports=(e,t)=>{var n=t||0;return""+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}})),st.register("ca0ts",(function(e,t){"use strict";function r(e,t,r){return i(this,void 0,void 0,(function*(){const n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");const o=n[0];return t=n.slice(1).concat(t||[]),new a.ToolRunner(o,t,r).exec()}))}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t}),i=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;const a=s(st("e0fPv"));e.exports.exec=r,e.exports.getExecOutput=function(e,t,n){var o,s;return i(this,void 0,void 0,(function*(){let i="",a="";const c=new Ke.StringDecoder("utf8"),l=new Ke.StringDecoder("utf8"),u=null===(o=null==n?void 0:n.listeners)||void 0===o?void 0:o.stdout,d=null===(s=null==n?void 0:n.listeners)||void 0===s?void 0:s.stderr,p=Object.assign(Object.assign({},null==n?void 0:n.listeners),{stdout(e){i+=c.write(e),u&&u(e)},stderr(e){a+=l.write(e),d&&d(e)}}),h=yield r(e,t,Object.assign(Object.assign({},n),{listeners:p}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}}))}})),st.register("e0fPv",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;const i=o(Me),a=o(Ve),c=o(Ye),l=o(Fe),u=o(st("fvrnx")),d=o(st("2GOko")),p="win32"===process.platform;e.exports.ToolRunner=class extends a.EventEmitter{constructor(e,t,r){if(super(),!e)throw Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=t||[],this.options=r||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,t){const r=this._getSpawnFileName(),n=this._getSpawnArgs(e);let o=t?"":"[command]";if(p)if(this._isCmdFile()){o+=r;for(const e of n)o+=" "+e}else if(e.windowsVerbatimArguments){o+=`"${r}"`;for(const e of n)o+=" "+e}else{o+=this._windowsQuoteCmdArg(r);for(const e of n)o+=" "+this._windowsQuoteCmdArg(e)}else{o+=r;for(const e of n)o+=" "+e}return o}_processLineBuffer(e,t,r){try{let n=t+""+e,o=n.indexOf(i.EOL);for(;o>-1;)r(n.substring(0,o)),n=n.substring(o+i.EOL.length),o=n.indexOf(i.EOL);return n}catch(e){return this._debug("error processing line. Failed with error "+e),""}}_getSpawnFileName(){return p&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(p&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(const r of this.args)t+=" ",t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r);return t+='"',[t]}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=!1;for(const n of e)if(t.some((e=>e===n))){r=!0;break}if(!r)return e;let n='"',o=!0;for(let t=e.length;t>0;t--)n+=e[t-1],o&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(o=!0,n+='"'):o=!1;return n+='"',n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-1]?(r=!0,t+="\\"):r=!1;return t+='"',t.split("").reverse().join("")}_cloneExecOptions(e){const t={cwd:(e=e||{}).cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t}_getSpawnOptions(e,t){const r={};return r.cwd=(e=e||{}).cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r}exec(){return s(this,void 0,void 0,(function*(){return!d.isRooted(this.toolPath)&&(this.toolPath.includes("/")||p&&this.toolPath.includes("\\"))&&(this.toolPath=l.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise(((e,t)=>s(this,void 0,void 0,(function*(){this._debug("exec tool: "+this.toolPath),this._debug("arguments:");for(const e of this.args)this._debug(" "+e);const r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+i.EOL);const n=new h(r,this.toolPath);if(n.on("debug",(e=>{this._debug(e)})),this.options.cwd&&!(yield d.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));const o=this._getSpawnFileName(),s=c.spawn(o,this._getSpawnArgs(r),this._getSpawnOptions(this.options,o));let a="";s.stdout&&s.stdout.on("data",(e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),a=this._processLineBuffer(e,a,(e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e)}))}));let l="";if(s.stderr&&s.stderr.on("data",(e=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),l=this._processLineBuffer(e,l,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),s.on("error",(e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()})),s.on("exit",(e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete()})),s.on("close",(e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()})),n.on("done",((r,n)=>{a.length>0&&this.emit("stdline",a),l.length>0&&this.emit("errline",l),s.removeAllListeners(),r?t(r):e(n)})),this.options.input){if(!s.stdin)throw Error("child process missing stdin");s.stdin.end(this.options.input)}}))))}))}},e.exports.argStringToArray=e=>{function t(e){o&&'"'!==e&&(s+="\\"),s+=e,o=!1}const r=[];let n=!1,o=!1,s="";for(let i=0;e.length>i;i++){const a=e.charAt(i);'"'!==a?"\\"===a&&o?t(a):"\\"===a&&n?o=!0:" "!==a||n?t(a):s.length>0&&(r.push(s),s=""):o?t(a):n=!n}return s.length>0&&r.push(s.trim()),r};class h extends a.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw Error("toolPath must not be empty");this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=Je.setTimeout(h.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):0===this.processExitCode||this.options.ignoreReturnCode?this.processStderr&&this.options.failOnStdErr&&(e=Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)):e=Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){e.done||(!e.processClosed&&e.processExited&&e._debug(`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`),e._setResult())}}})),st.register("dgtoh",((e,t)=>{e.exports=Promise.resolve(require("./actions_python.08b116bb.js")).then((()=>st("apy8x")))})),st.register("cReTf",((e,t)=>{function r(e){Array.isArray(e)||(e=[e]);for(const t of e){const{id:e,data:r}=t;c[e]=r}}function n(e,t,r){const n=(e=>{const t=c[e.locale];let r=e.unitTypeLookupOrder.slice();r.unshift(e.unitType),r=Array.from(new Set(r));let n=null;if(r.some((e=>{if(void 0!==t[e])return n=t[e],!0})),null===n)throw Error("Can not find any unit type data for locale: "+e.locale);return n})(r);return o.pluralize(r.locale,t,n[e]).replace("{0}",t)}var o=st("5FRs7"),s=st("3Zbea");const i=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],a={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},c={};e.exports={create(e){return e=Object.assign({},a,e||{}),{format(t,o,a){return((e,t,o)=>{if(((e,t)=>{const{autoload:n}=t;if(!c[e]){if(!s||!n)throw Error(`Missing locale: ${e}, you must load it manually before using it`);(e=>{try{r(require(`../locales/${e}.js`))}catch(t){throw Error(`Failed to load locale: ${e} from ../locales/${e}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${t}`)}})(e)}})(o.locale,{autoload:o.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");const a=((e,t)=>{let r=t-e;const n=[];return i.some((e=>{const t=e[0],o=e[1],s=Math.floor(r/o);if(r-=s*o,n.push([t,s]),0>=r)return!0})),n})(e,t),l=[];for(const e of a){const[t,r]=e;if(r>0&&l.push(n(t,r,o)),l.length>=o.span)break}return l.join(o.delimiter)})(t,o,a=Object.assign({},e,a||{}))}}},addLocale:r,defaultConfig:a}})),st.register("5FRs7",((e,t)=>{e.exports=st("j5MHF")})),st.register("j5MHF",(function(e,t){var r=Fe.resolve(__dirname,"../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){"use strict";function t(e,t,r){if(n(e),"object"!=typeof r)throw Error("List of variants should be specified as an object");var s=o[e](t);return void 0!==r[s]?r[s]:null}function n(e){(e=>void 0!==o[e])(e)||(e=>{try{require(r+"/../locales/"+e+".js")}catch(t){throw Error("Failed to load the following locale: "+e)}})(e)}var o={},s={create(e){return n(e),{pluralize(r,n){return t(e,r,n)}}},addLocale(e,t){o[e]=t},pluralize:t};void 0!==e.exports?e.exports=s:this.numerous=s}).call(e.exports)})),st.register("3Zbea",((e,t)=>{"use strict";e.exports=!("undefined"==typeof process||!process.versions||!process.versions.node)})),e(module.exports,"main",(()=>Ne)),e(module.exports,"parseArgs",(()=>Le)),e(module.exports,"getCompilerInfo",(()=>je));var it=st("enS5B"),at=st("6XIgB"),ct={};const lt="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,ut=lt?";":":";var dt,pt={};dt="win32"===process.platform||rt.TESTING_WINDOWS?st("ftrAD"):st("9yF3I"),pt=r,r.sync=(e,t)=>{try{return dt.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const ht=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),ft=(e,t)=>{const r=t.colon||ut,n=e.match(/\//)||lt&&e.match(/\\/)?[""]:[...lt?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],o=lt?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=lt?o.split(r):[""];return lt&&-1!==e.indexOf(".")&&""!==s[0]&&s.unshift(""),{pathEnv:n,pathExt:s,pathExtExe:o}},mt=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:n,pathExt:o,pathExtExe:s}=ft(e,t),i=[],a=r=>new Promise(((o,s)=>{if(r===n.length)return t.all&&i.length?o(i):s(ht(e));const a=n[r],l=/^".*"$/.test(a)?a.slice(1,-1):a,u=Fe.join(l,e),d=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;o(c(d,r,0))})),c=(e,r,n)=>new Promise(((l,u)=>{if(n===o.length)return l(a(r+1));const d=o[n];pt(e+d,{pathExt:s},((o,s)=>{if(!o&&s){if(!t.all)return l(e+d);i.push(e+d)}return l(c(e,r,n+1))}))}));return r?a(0).then((e=>r(null,e)),r):a(0)};let gt;ct=mt,mt.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:n,pathExtExe:o}=ft(e,t),s=[];for(let i=0;r.length>i;i++){const a=r[i],c=/^".*"$/.test(a)?a.slice(1,-1):a,l=Fe.join(c,e),u=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;for(let e=0;n.length>e;e++){const r=u+n[e];try{if(pt.sync(r,{pathExt:o})){if(!t.all)return r;s.push(r)}}catch(e){}}}if(t.all&&s.length)return s;if(t.nothrow)return null;throw ht(e)};var vt,xt={},wt={},yt={},bt={};const Et=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};var St,_t;(bt=Et).default=Et,vt=e=>o(e)||o(e,!0);const Ot=/([()\][%!^"`<>&|;, *?])/g;St=e=>e.replace(Ot,"^$1"),_t=(e,t)=>(e=(e=`"${e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(Ot,"^$1"),t&&(e=e.replace(Ot,"^$1")),e);var $t,Tt,Ct;Tt=/^#!(.*)/,$t=(e="")=>{const t=e.match(Tt);if(!t)return null;const[r,n]=t[0].replace(/#! ?/,"").split(" "),o=r.split("/").pop();return"env"===o?n:n?`${o} ${n}`:o},Ct=e=>{const t=Buffer.alloc(150);let r;try{r=Be.openSync(e,"r"),Be.readSync(r,t,0,150,0),Be.closeSync(r)}catch(e){}return $t(""+t)};const Pt="win32"===process.platform,Rt=/\.(?:com|exe)$/i,It=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;yt=(e,t,r)=>{t&&!Array.isArray(t)&&(r=t,t=null);const n={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?n:(e=>{if(!Pt)return e;const t=(e=>{e.file=vt(e);const t=e.file&&Ct(e.file);return t?(e.args.unshift(e.file),e.command=t,vt(e)):e.file})(e),r=!Rt.test(t);if(e.options.forceShell||r){const r=It.test(t);e.command=Fe.normalize(e.command),e.command=St(e.command),e.args=e.args.map((e=>_t(e,r)));const n=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${n}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e})(n)};var At={};const kt="win32"===process.platform;var Nt;At={hookChildProcess(e,t){if(!kt)return;const r=e.emit;e.emit=function(n,o){if("exit"===n){const n=i(o,t);if(n)return r.call(e,"error",n)}return r.apply(e,arguments)}},verifyENOENT:i,verifyENOENTSync(e,t){return kt&&1===e&&!t.file?s(t.original,"spawnSync"):null},notFoundError:s},(wt=a).spawn=a,wt.sync=(e,t,r)=>{const n=yt(e,t,r),o=Ye.spawnSync(n.command,n.args,n.options);return o.error=o.error||At.verifyENOENTSync(o.status,n),o},wt._parse=yt,wt._enoent=At,Nt=e=>{const t="string"==typeof e?"\r":13;return e[e.length-1]===("string"==typeof e?"\n":10)&&(e=e.slice(0,e.length-1)),e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e};var Lt={};const jt=e=>{let t;e={cwd:process.cwd(),path:process.env[bt()],execPath:process.execPath,...e};let r=Fe.resolve(e.cwd);const n=[];for(;t!==r;)n.push(Fe.join(r,"node_modules/.bin")),t=r,r=Fe.resolve(r,"..");const o=Fe.resolve(e.cwd,e.execPath,"..");return n.push(o),n.concat(e.path).join(Fe.delimiter)};(Lt=jt).default=jt,Lt.env=e=>{const t={...(e={env:process.env,...e}).env},r=bt({env:t});return e.path=t[r],t[r]=Lt(e),t};var Dt={},Ut={};const Mt=(e,t)=>{for(const r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};(Ut=Mt).default=Mt;const Ft=new WeakMap,Bt=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let r,n=0;const o=e.displayName||e.name||"",s=function(...i){if(Ft.set(s,++n),1===n)r=e.apply(this,i),e=null;else if(!0===t.throw)throw Error(`Function \`${o}\` can only be called once`);return r};return Ut(s,e),Ft.set(s,n),s};(Dt=Bt).default=Bt,Dt.callCount=e=>{if(!Ft.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Ft.get(e)};var Gt,zt={};Object.defineProperty(zt,"__esModule",{value:!0}),zt.signalsByNumber=zt.signalsByName=void 0;var Ht={};Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.getSignals=void 0;var qt={};Object.defineProperty(qt,"__esModule",{value:!0}),qt.SIGNALS=void 0,qt.SIGNALS=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.SIGRTMAX=Vt.getRealtimeSignals=void 0,Vt.getRealtimeSignals=()=>Array.from({length:Yt-Wt+1},Xt);const Xt=(e,t)=>({name:"SIGRT"+(t+1),number:Wt+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),Wt=34,Yt=64;Vt.SIGRTMAX=Yt,Ht.getSignals=()=>{const e=(0,Vt.getRealtimeSignals)();return[...qt.SIGNALS,...e].map(Kt)};const Kt=({name:e,number:t,description:r,action:n,forced:o=!1,standard:s})=>{const{signals:{[e]:i}}=Me.constants,a=void 0!==i;return{name:e,number:a?i:t,description:r,supported:a,action:n,forced:o,standard:s}},Jt=(0,Ht.getSignals)().reduce(((e,{name:t,number:r,description:n,supported:o,action:s,forced:i,standard:a})=>({...e,[t]:{name:t,number:r,description:n,supported:o,action:s,forced:i,standard:a}})),{});zt.signalsByName=Jt;const Zt=(()=>{const e=(0,Ht.getSignals)(),t=Array.from({length:Vt.SIGRTMAX+1},((t,r)=>((e,t)=>{const r=((e,t)=>{const r=t.find((({name:t})=>Me.constants.signals[t]===e));return void 0!==r?r:t.find((t=>t.number===e))})(e,t);if(void 0===r)return{};const{name:n,description:o,supported:s,action:i,forced:a,standard:c}=r;return{[e]:{name:n,number:e,description:o,supported:s,action:i,forced:a,standard:c}}})(r,e)));return Object.assign({},...t)})();zt.signalsByNumber=Zt;var Qt=zt.signalsByName;Gt=({stdout:e,stderr:t,all:r,error:n,signal:o,exitCode:s,command:i,escapedCommand:a,timedOut:c,isCanceled:l,killed:u,parsed:{options:{timeout:d}}})=>{const p=void 0===(o=null===o?void 0:o)?void 0:Qt[o].description,h=(({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:o,exitCode:s,isCanceled:i})=>e?`timed out after ${t} milliseconds`:i?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${o})`:void 0!==s?"failed with exit code "+s:"failed")({timedOut:c,timeout:d,errorCode:n&&n.code,signal:o,signalDescription:p,exitCode:s=null===s?void 0:s,isCanceled:l}),f=`Command ${h}: ${i}`,m="[object Error]"==={}.toString.call(n),g=m?`${f}\n${n.message}`:f,v=[g,t,e].filter(Boolean).join("\n");return m?(n.originalMessage=n.message,n.message=v):n=Error(v),n.shortMessage=g,n.command=i,n.escapedCommand=a,n.exitCode=s,n.signal=o,n.signalDescription=p,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!c,n.isCanceled=l,n.killed=u&&!c,n};var er={};const tr=["stdin","stdout","stderr"],rr=e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return tr.map((t=>e[t]));if((e=>tr.some((t=>void 0!==e[t])))(e))throw Error("It's not possible to provide `stdio` in combination with one of "+tr.map((e=>`\`${e}\``)).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,tr.length)},((e,r)=>t[r]))};(er=rr).node=e=>{const t=rr(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]};var nr,or={},sr=rt.process;const ir=e=>e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on;if(ir(sr)){var ar,cr=Xe,lr=st("bJALw"),ur=/^win/i.test(sr.platform),dr=Ve;"function"!=typeof dr&&(dr=dr.EventEmitter),sr.__signal_exit_emitter__?ar=sr.__signal_exit_emitter__:((ar=sr.__signal_exit_emitter__=new dr).count=0,ar.emitted={}),ar.infinite||(ar.setMaxListeners(1/0),ar.infinite=!0),or=(e,t)=>{if(!ir(rt.process))return()=>{};cr.equal(typeof e,"function","a callback must be provided for exit handler"),!1===mr&&gr();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),ar.on(r,e),()=>{ar.removeListener(r,e),0===ar.listeners("exit").length&&0===ar.listeners("afterexit").length&&pr()}};var pr=()=>{mr&&ir(rt.process)&&(mr=!1,lr.forEach((e=>{try{sr.removeListener(e,fr[e])}catch(e){}})),sr.emit=wr,sr.reallyExit=vr,ar.count-=1)};or.unload=pr;var hr=(e,t,r)=>{ar.emitted[e]||(ar.emitted[e]=!0,ar.emit(e,t,r))},fr={};lr.forEach((e=>{fr[e]=()=>{ir(rt.process)&&sr.listeners(e).length===ar.count&&(pr(),hr("exit",null,e),hr("afterexit",null,e),ur&&"SIGHUP"===e&&(e="SIGINT"),sr.kill(sr.pid,e))}})),or.signals=()=>lr;var mr=!1,gr=()=>{!mr&&ir(rt.process)&&(mr=!0,ar.count+=1,lr=lr.filter((e=>{try{return sr.on(e,fr[e]),!0}catch(e){return!1}})),sr.emit=yr,sr.reallyExit=xr)};or.load=gr;var vr=sr.reallyExit,xr=e=>{ir(rt.process)&&(sr.exitCode=e||0,hr("exit",sr.exitCode,null),hr("afterexit",sr.exitCode,null),vr.call(sr,sr.exitCode))},wr=sr.emit,yr=function(e,t){if("exit"===e&&ir(rt.process)){void 0!==t&&(sr.exitCode=t);var r=wr.apply(this,arguments);return hr("exit",sr.exitCode,null),hr("afterexit",sr.exitCode,null),r}return wr.apply(this,arguments)}}else or=()=>()=>{};const br=e=>e===Me.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase();var Er,Sr=(nr={spawnedKill(e,t="SIGTERM",r={}){const n=e(t);return((e,t,r,n)=>{if(!((e,{forceKillAfterTimeout:t},r)=>br(e)&&!1!==t&&r)(t,r,n))return;const o=(({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||0>e)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e})(r),s=setTimeout((()=>{e("SIGKILL")}),o);s.unref&&s.unref()})(e,t,r,n),n},spawnedCancel(e,t){e.kill()&&(t.isCanceled=!0)},setupTimeout(e,{timeout:t,killSignal:r="SIGTERM"},n){if(0===t||void 0===t)return n;let o;const s=new Promise(((n,s)=>{o=setTimeout((()=>{((e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}))})(e,r,s)}),t)})),i=n.finally((()=>{clearTimeout(o)}));return Promise.race([s,i])},validateTimeout({timeout:e}){if(void 0!==e&&(!Number.isFinite(e)||0>e))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},async setExitHandler(e,{cleanup:t,detached:r},n){if(!t||r)return n;const o=or((()=>{e.kill()}));return n.finally((()=>{o()}))}}).spawnedKill,_r=nr.spawnedCancel,Or=nr.setupTimeout,$r=nr.validateTimeout,Tr=nr.setExitHandler,Cr={};const Pr=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;Pr.writable=e=>Pr(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,Pr.readable=e=>Pr(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,Pr.duplex=e=>Pr.writable(e)&&Pr.readable(e),Pr.transform=e=>Pr.duplex(e)&&"function"==typeof e._transform,Cr=Pr;var Rr,Ir={},Ar=Ze.constants,kr=Qe.PassThrough;Rr=e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const n="buffer"===r;let o=!1;t?o=!(r||n):r=r||"utf8",n&&(r=null);const s=new kr({objectMode:o});r&&s.setEncoding(r);let i=0;const a=[];return s.on("data",(e=>{a.push(e),o?i=a.length:i+=e.length})),s.getBufferedValue=()=>t?a:n?Buffer.concat(a,i):a.join(""),s.getBufferedLength=()=>i,s};const Nr=(0,We.promisify)(Qe.pipeline);class Lr extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}(Ir=c).buffer=(e,t)=>c(e,{...t,encoding:"buffer"}),Ir.array=(e,t)=>c(e,{...t,array:!0}),Ir.MaxBufferError=Lr;var jr,Dr=Qe.PassThrough;jr=function(){function e(t){return Array.isArray(t)?(t.forEach(e),this):(n.push(t),t.once("end",r.bind(null,t)),t.once("error",o.emit.bind(o,"error")),t.pipe(o,{end:!1}),this)}function t(){return 0==n.length}function r(e){!(n=n.filter((t=>t!==e))).length&&o.readable&&o.end()}var n=[],o=new Dr({objectMode:!0});return o.setMaxListeners(0),o.add=e,o.isEmpty=t,o.on("unpipe",r),[].slice.call(arguments).forEach(e),o};const Ur=async(e,t)=>{if(e){e.destroy();try{return await t}catch(e){return e.bufferedData}}},Mr=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?Ir(e,{encoding:t,maxBuffer:n}):Ir.buffer(e,{maxBuffer:n})};var Fr,Br=(Er={handleInput(e,t){void 0!==t&&void 0!==e.stdin&&(Cr(t)?t.pipe(e.stdin):e.stdin.end(t))},makeAllStream(e,{all:t}){if(!t||!e.stdout&&!e.stderr)return;const r=jr();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r},async getSpawnedResult({stdout:e,stderr:t,all:r},{encoding:n,buffer:o,maxBuffer:s},i){const a=Mr(e,{encoding:n,buffer:o,maxBuffer:s}),c=Mr(t,{encoding:n,buffer:o,maxBuffer:s}),l=Mr(r,{encoding:n,buffer:o,maxBuffer:2*s});try{return await Promise.all([i,a,c,l])}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},Ur(e,a),Ur(t,c),Ur(r,l)])}},validateInputSync({input:e}){if(Cr(e))throw new TypeError("The `input` option cannot be a stream in sync mode")}}).handleInput,Gr=Er.getSpawnedResult,zr=Er.makeAllStream,Hr=Er.validateInputSync;const qr=(async()=>{})().constructor.prototype,Vr=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(qr,e)]));var Xr,Wr=(Fr={mergePromise(e,t){for(const[r,n]of Vr){const o="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:o})}return e},getSpawnedPromise(e){return new Promise(((t,r)=>{e.on("exit",((e,r)=>{t({exitCode:e,signal:r})})),e.on("error",(e=>{r(e)})),e.stdin&&e.stdin.on("error",(e=>{r(e)}))}))}}).mergePromise,Yr=Fr.getSpawnedPromise;const Kr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],Jr=/^[\w.-]+$/,Zr=/"/g,Qr=/ +/g;var en=(Xr={joinCommand(e,t){return Kr(e,t).join(" ")},getEscapedCommand(e,t){return Kr(e,t).map((e=>(e=>"string"!=typeof e||Jr.test(e)?e:`"${e.replace(Zr,'\\"')}"`)(e))).join(" ")},parseCommand(e){const t=[];for(const r of e.trim().split(Qr)){const e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r)}return t}}).joinCommand,tn=Xr.parseCommand,rn=Xr.getEscapedCommand;const nn=(e,t,r={})=>{const n=wt._parse(e,t,r);return e=n.command,t=n.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=n.options).cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...r}).env=(({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:o})=>{const s=t?{...process.env,...e}:e;return r?Lt.env({env:s,cwd:n,execPath:o}):s})(r),r.stdio=er(r),"win32"===process.platform&&"cmd"===Fe.basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n}},on=(e,t,r)=>"string"==typeof t||Buffer.isBuffer(t)?e.stripFinalNewline?Nt(t):t:void 0===r?void 0:"",sn=(e,t,r)=>{const n=nn(e,t,r),o=en(e,t),s=rn(e,t);let i;$r(n.options);try{i=Ye.spawn(n.file,n.args,n.options)}catch(e){const t=new Ye.ChildProcess,r=Promise.reject(Gt({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}));return Wr(t,r)}const a=Yr(i),c=Or(i,n.options,a),l=Tr(i,n.options,c),u={isCanceled:!1};i.kill=Sr.bind(null,i.kill.bind(i)),i.cancel=_r.bind(null,i,u);const d=Dt((async()=>{const[{error:e,exitCode:t,signal:r,timedOut:a},c,d,p]=await Gr(i,n.options,l),h=on(n.options,c),f=on(n.options,d),m=on(n.options,p);if(e||0!==t||null!==r){const c=Gt({error:e,exitCode:t,signal:r,stdout:h,stderr:f,all:m,command:o,escapedCommand:s,parsed:n,timedOut:a,isCanceled:u.isCanceled,killed:i.killed});if(!n.options.reject)return c;throw c}return{command:o,escapedCommand:s,exitCode:0,stdout:h,stderr:f,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return Br(i,n.options.input),i.all=zr(i,n.options),Wr(i,d)};(xt=sn).sync=(e,t,r)=>{const n=nn(e,t,r),o=en(e,t),s=rn(e,t);let i;Hr(n.options);try{i=Ye.spawnSync(n.file,n.args,n.options)}catch(e){throw Gt({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}const a=on(n.options,i.stdout,i.error),c=on(n.options,i.stderr,i.error);if(i.error||0!==i.status||null!==i.signal){const e=Gt({stdout:a,stderr:c,error:i.error,signal:i.signal,exitCode:i.status,command:o,escapedCommand:s,parsed:n,timedOut:i.error&&"ETIMEDOUT"===i.error.code,isCanceled:!1,killed:null!==i.signal});if(!n.options.reject)return e;throw e}return{command:o,escapedCommand:s,exitCode:0,stdout:a,stderr:c,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},xt.command=(e,t)=>{const[r,...n]=tn(e);return sn(r,n,t)},xt.commandSync=(e,t)=>{const[r,...n]=tn(e);return sn.sync(r,n,t)},xt.node=(e,t,r={})=>{t&&!Array.isArray(t)&&"object"==typeof t&&(r=t,t=[]);const n=er.node(r),o=process.execArgv.filter((e=>!e.startsWith("--inspect"))),{nodePath:s=process.execPath,nodeOptions:i=o}=r;return sn(s,[...i,e,...Array.isArray(t)?t:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:n,shell:!1})},it=st("enS5B");var an,cn=st("gmbrv");it=st("enS5B"),cn=st("gmbrv");const ln=Me.homedir();an=e=>{if("string"!=typeof e)throw new TypeError("Expected a string, got "+typeof e);return ln?e.replace(/^~(?=$|\/|\\)/,ln):e};var un=st("pcnv8");let dn;var pn;at=st("6XIgB");const hn="win32"!==Me.platform(),fn=Me.release(),mn=/(\d+\.\d+)\.(\d+)/;pn=e=>hn?e.replace(/(\s+)/g,"\\$1"):((e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184)(...mn.exec(fn).splice(1))?e:e.replace(/(\s+)/g,"%20");const gn=d(".cpprc");let vn=!1,xn=!1,wn=!1;un=st("pcnv8");let yn=!1,bn=!1;it=st("enS5B");let En,Sn=!1;at=st("6XIgB"),it=st("enS5B"),un=st("pcnv8");let _n,On,$n,Tn=!1;un=st("pcnv8"),at=st("6XIgB");var Cn=st("fvrnx"),Pn=(un=st("pcnv8"),{}),Rn=Fe.resolve(__dirname,"../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib"),In=Pn&&Pn.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),An=Pn&&Pn.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),kn=Pn&&Pn.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&In(t,e,r);return An(t,e),t}),Nn=Pn&&Pn.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))),Ln=Pn&&Pn.__importDefault||(e=>e&&e.__esModule?e:{default:e});Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.evaluateVersions=Pn.isExplicitVersion=Pn.findFromManifest=Pn.getManifestFromRepo=Pn.findAllVersions=Pn.find=Pn.cacheFile=Pn.cacheDir=Pn.extractZip=Pn.extractXar=Pn.extractTar=Pn.extract7z=Pn.downloadTool=Pn.HTTPError=void 0;const jn=kn(st("enS5B")),Dn=kn(st("fvrnx")),Un=kn(Be),Mn=kn(st("6kHxT")),Fn=kn(Me),Bn=kn(Fe),Gn=kn(st("4z9RF")),zn=kn(st("4URNm")),Hn=kn(Qe),qn=kn(We),Vn=Ln(st("iFKS7"));var Xn=st("ca0ts"),Wn={},Yn=Wn&&Wn.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),Kn=Wn&&Wn.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Jn=Wn&&Wn.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&Yn(t,e,r);return Kn(t,e),t}),Zn=Wn&&Wn.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.RetryHelper=void 0;const Qn=Jn(st("enS5B"));Wn.RetryHelper=class{constructor(e,t,r){if(1>e)throw Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(t),this.maxSeconds=Math.floor(r),this.minSeconds>this.maxSeconds)throw Error("min seconds should be less than or equal to max seconds")}execute(e,t){return Zn(this,void 0,void 0,(function*(){let r=1;for(;this.maxAttempts>r;){try{return yield e()}catch(e){if(t&&!t(e))throw e;Qn.info(e.message)}const n=this.getSleepAmount();Qn.info(`Waiting ${n} seconds before trying again`),yield this.sleep(n),r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return Zn(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}};class eo extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}Pn.HTTPError=eo;const to="win32"===process.platform,ro="darwin"===process.platform;let no;Pn.downloadTool=function(e,t,r,n){return Nn(this,void 0,void 0,(function*(){t=t||Bn.join(B(),Vn.default()),yield Dn.mkdirP(Bn.dirname(t)),jn.debug("Downloading "+e),jn.debug("Destination "+t);const o=G("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),s=G("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),i=new Wn.RetryHelper(3,o,s);return yield i.execute((()=>Nn(this,void 0,void 0,(function*(){return yield function(e,t,r,n){return Nn(this,void 0,void 0,(function*(){if(Un.existsSync(t))throw Error(`Destination file path ${t} already exists`);const o=new Gn.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(jn.debug("set auth"),void 0===n&&(n={}),n.authorization=r);const s=yield o.get(e,n);if(200!==s.message.statusCode){const t=new eo(s.message.statusCode);throw jn.debug(`Failed to download from "${e}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),t}const i=qn.promisify(Hn.pipeline),a=G("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>s.message))();let c=!1;try{return yield i(a,Un.createWriteStream(t)),jn.debug("download complete"),c=!0,t}finally{if(!c){jn.debug("download failed");try{yield Dn.rmRF(t)}catch(e){jn.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,n)}))),(e=>!(e instanceof eo&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},Pn.extract7z=function(e,t,r){return Nn(this,void 0,void 0,(function*(){Xe.ok(to,"extract7z() not supported on current OS"),Xe.ok(e,'parameter "file" is required'),t=yield L(t);const n=process.cwd();if(process.chdir(t),r)try{const t=["x",jn.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],o={silent:!0};yield Xn.exec(`"${r}"`,t,o)}finally{process.chdir(n)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${Bn.join(Rn,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Source '${e.replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Target '${t.replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`],o={silent:!0};try{const e=yield Dn.which("powershell",!0);yield Xn.exec(`"${e}"`,r,o)}finally{process.chdir(n)}}return t}))},Pn.extractTar=function(e,t,r="xz"){return Nn(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield L(t),jn.debug("Checking tar --version");let n="";yield Xn.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout(e){return n+=""+e},stderr(e){return n+=""+e}}}),jn.debug(n.trim());const o=n.toUpperCase().includes("GNU TAR");let s;s=r instanceof Array?r:[r],jn.isDebug()&&!r.includes("v")&&s.push("-v");let i=t,a=e;return to&&o&&(s.push("--force-local"),i=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(s.push("--warning=no-unknown-keyword"),s.push("--overwrite")),s.push("-C",i,"-f",a),yield Xn.exec("tar",s),t}))},Pn.extractXar=function(e,t,r=[]){return Nn(this,void 0,void 0,(function*(){let n;Xe.ok(ro,"extractXar() not supported on current OS"),Xe.ok(e,'parameter "file" is required'),t=yield L(t),n=r instanceof Array?r:[r],n.push("-x","-C",t,"-f",e),jn.isDebug()&&n.push("-v");const o=yield Dn.which("xar",!0);var s;return yield Xn.exec(`"${o}"`,(s=n,Array.from(new Set(s)))),t}))},Pn.extractZip=function(e,t){return Nn(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield L(t),to?yield function(e,t){return Nn(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=yield Dn.which("pwsh",!1);if(o){const e=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ")];jn.debug("Using pwsh at path: "+o),yield Xn.exec(`"${o}"`,e)}else{const e=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],t=yield Dn.which("powershell",!0);jn.debug("Using powershell at path: "+t),yield Xn.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return Nn(this,void 0,void 0,(function*(){const r=yield Dn.which("unzip",!0),n=[e];jn.isDebug()||n.unshift("-q"),n.unshift("-o"),yield Xn.exec(`"${r}"`,n,{cwd:t})}))}(e,t),t}))},Pn.cacheDir=function(e,t,r,n){return Nn(this,void 0,void 0,(function*(){if(r=zn.clean(r)||r,n=n||Fn.arch(),jn.debug(`Caching tool ${t} ${r} ${n}`),jn.debug("source dir: "+e),!Un.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const o=yield j(t,r,n);for(const t of Un.readdirSync(e)){const r=Bn.join(e,t);yield Dn.cp(r,o,{recursive:!0})}return D(t,r,n),o}))},Pn.cacheFile=function(e,t,r,n,o){return Nn(this,void 0,void 0,(function*(){if(n=zn.clean(n)||n,o=o||Fn.arch(),jn.debug(`Caching tool ${r} ${n} ${o}`),jn.debug("source file: "+e),!Un.statSync(e).isFile())throw Error("sourceFile is not a file");const s=yield j(r,n,o),i=Bn.join(s,t);return jn.debug("destination file "+i),yield Dn.cp(e,i),D(r,n,o),s}))},Pn.find=(e,t,r)=>{if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||Fn.arch(),U(t)||(t=M(N(e,r),t));let n="";if(t){t=zn.clean(t)||"";const o=Bn.join(F(),e,t,r);jn.debug("checking cache: "+o),Un.existsSync(o)&&Un.existsSync(o+".complete")?(jn.debug(`Found tool in cache ${e} ${t} ${r}`),n=o):jn.debug("not found")}return n},Pn.findAllVersions=N,Pn.getManifestFromRepo=function(e,t,r,n="master"){return Nn(this,void 0,void 0,(function*(){let o=[];const s=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,i=new Gn.HttpClient("tool-cache"),a={};r&&(jn.debug("set auth"),a.authorization=r);const c=yield i.getJson(s,a);if(!c.result)return o;let l="";for(const e of c.result.tree)if("versions-manifest.json"===e.path){l=e.url;break}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield i.get(l,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{o=JSON.parse(u)}catch(e){jn.debug("Invalid json")}}return o}))},Pn.findFromManifest=function(e,t,r,n=Fn.arch()){return Nn(this,void 0,void 0,(function*(){return yield Mn._findMatch(e,t,r,n)}))},Pn.isExplicitVersion=U,Pn.evaluateVersions=M,it=st("enS5B"),at=st("6XIgB"),cn=st("gmbrv");let oo=!1;var so=st("fwsB7"),io=st("1YYsi"),ao=(at=st("6XIgB"),Xn=st("ca0ts"),it=st("enS5B"),cn=st("gmbrv"),un=st("pcnv8"),at=st("6XIgB"),async e=>{const t=(e=>{if("string"!=typeof e)return!1;const t=e.trim();if(t.includes(" "))return!1;try{return new(0,et.URL)(t),!0}catch{return!1}})(e);if(!t)return!1;let r=await Q(e,"HEAD");return!!r||(r=await Q(e,"GET"),!!r)}),co=st("howpO"),lo=(io=st("1YYsi"),st("fVzwP"));Xn=st("ca0ts"),un=st("pcnv8");const uo=/v?(\d\S*)/;at=st("6XIgB");const po={llvm:"13.0.0",clangtidy:"13.0.0",clangformat:"13.0.0",ninja:"1.11.0",cmake:"3.23.2",gcovr:"5.1",conan:"1.50.0",meson:"0.63.0",kcov:"40",task:"3.14.0",doxygen:C()?"1.9.3-1":"1.9.4",gcc:"11"},ho={llvm:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},gcovr:{20:"5.1",18:"5.0"},meson:{20:"0.63.0",18:"0.61.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"40",20:"40-binary",18:"40",16:"40",14:"40"}};let fo,mo,go=!1;at=st("6XIgB"),un=st("pcnv8"),at=st("6XIgB"),so=st("fwsB7");var vo=st("fB2B7"),xo=(Xn=st("ca0ts"),un=st("pcnv8"),it=st("enS5B"),un=st("pcnv8"),cn=st("gmbrv"),vo=st("fB2B7"),io=st("1YYsi"),at=st("6XIgB"),un=st("pcnv8"),cn=st("gmbrv"),Fe.resolve(__dirname,"../src/gcc"));const wo={12:{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.6-10.0.0-msvcrt-r3",fileSuffix:"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};var yo=Fe.resolve(__dirname,"../src/llvm");const bo=(e=>{const t=new Set(e);for(const r of e)t.add(/^\d+/.exec(r)[0]),t.add(/^\d+\.\d+/.exec(r)[0]);return t})(["3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.6.2","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","5.0.0","5.0.1","5.0.2","6.0.0","6.0.1","7.0.0","7.0.1","7.1.0","8.0.0","8.0.1","9.0.0","9.0.1","10.0.0","10.0.1","11.0.0","11.0.1","11.1.0","12.0.0","12.0.1","13.0.0","13.0.1","14.0.0","14.0.1","14.0.2","14.0.3","14.0.4","14.0.5","14.0.6"]),Eo=new Set(["3.5.1","3.6.1","3.6.2","3.7.1","3.8.1","3.9.1","6.0.1","7.0.1","7.1.0","8.0.1","11.0.1","11.1.0","12.0.1"]),So=new Map,_o={"3.5.0":"-ubuntu-14.04","3.5.1":"","3.5.2":"-ubuntu-14.04","3.6.0":"-ubuntu-14.04","3.6.1":"-ubuntu-14.04","3.6.2":"-ubuntu-14.04","3.7.0":"-ubuntu-14.04","3.7.1":"-ubuntu-14.04","3.8.0":"-ubuntu-16.04","3.8.1":"-ubuntu-16.04","3.9.0":"-ubuntu-16.04","3.9.1":"-ubuntu-16.04","4.0.0":"-ubuntu-16.04","5.0.0":"-ubuntu16.04","5.0.1":"-ubuntu-16.04","5.0.2":"-ubuntu-16.04","6.0.0":"-ubuntu-16.04","6.0.1":"-ubuntu-16.04","7.0.0":"-ubuntu-16.04","7.0.1":"-ubuntu-18.04","7.1.0":"-ubuntu-14.04","8.0.0":"-ubuntu-18.04","9.0.0":"-ubuntu-18.04","9.0.1":"-ubuntu-16.04","10.0.0":"-ubuntu-18.04","10.0.1":"-ubuntu-16.04","11.0.0":"-ubuntu-20.04","11.0.1":"-ubuntu-16.04","11.1.0":"-ubuntu-16.04","12.0.0":"-ubuntu-20.04","12.0.1":"-ubuntu-16.04","13.0.0":"-ubuntu-20.04","13.0.0-ubuntu-16.04":"-ubuntu-16.04","13.0.0-ubuntu-20.04":"-ubuntu-20.04","13.0.1":"-ubuntu-18.04","13.0.1-ubuntu-18.04":"-ubuntu-18.04","14.0.0":"-ubuntu-18.04"},Oo=new Set(["10.0.1"]);let $o=!1;var To,Co,Po,Ro={},Io=Ro&&Ro.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))),Ao=Ro&&Ro.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(Ro,"__esModule",{value:!0});var ko={},No=ko&&ko.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(ko,"__esModule",{value:!0});const Lo=No(Me);var jo={};Object.defineProperty(jo,"__esModule",{value:!0}),jo.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),ko.issueCommand=ve,ko.issue=(e,t="")=>{ve(e,{},t)};class Do{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,jo.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>jo.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}var Uo={},Mo=Uo&&Uo.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(Uo,"__esModule",{value:!0});const Fo=Mo(Be),Bo=Mo(Me);Uo.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!Fo.existsSync(r))throw Error("Missing file at path: "+r);Fo.appendFileSync(r,`${jo.toCommandValue(t)}${Bo.EOL}`,{encoding:"utf8"})};const Go=Ao(Me),zo=Ao(Fe);var Ho,qo;(qo=Ho=Ro.ExitCode||(Ro.ExitCode={}))[qo.Success=0]="Success",qo[qo.Failure=1]="Failure",Ro.exportVariable=(e,t)=>{const r=jo.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";Uo.issueCommand("ENV",`${e}<<${t}${Go.EOL}${r}${Go.EOL}${t}`)}else ko.issueCommand("set-env",{name:e},r)},Ro.setSecret=e=>{ko.issueCommand("add-mask",{},e)},Ro.addPath=e=>{process.env.GITHUB_PATH?Uo.issueCommand("PATH",e):ko.issueCommand("add-path",{},e),process.env.PATH=`${e}${zo.delimiter}${process.env.PATH}`},Ro.getInput=(e,t)=>{const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return r.trim()},Ro.setOutput=(e,t)=>{ko.issueCommand("set-output",{name:e},t)},Ro.setCommandEcho=e=>{ko.issue("echo",e?"on":"off")},Ro.setFailed=e=>{process.exitCode=Ho.Failure,xe(e)},Ro.isDebug=()=>"1"===process.env.RUNNER_DEBUG,Ro.debug=e=>{ko.issueCommand("debug",{},e)},Ro.error=xe,Ro.warning=e=>{ko.issue("warning",e instanceof Error?""+e:e)},Ro.info=e=>{process.stdout.write(e+Go.EOL)},Ro.startGroup=we,Ro.endGroup=ye,Ro.group=function(e,t){return Io(this,void 0,void 0,(function*(){let r;we(e);try{r=yield t()}finally{ye()}return r}))},Ro.saveState=(e,t)=>{ko.issueCommand("save-state",{name:e},t)},Ro.getState=e=>process.env["STATE_"+e]||"";const Vo=tt.env["ProgramFiles(x86)"],Xo=[tt.env["ProgramFiles(x86)"],tt.env.ProgramFiles],Wo=["Enterprise","Professional","Community"],Yo=["2022","2019","2017"],Ko={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};To=be;const Jo=Vo+"\\Microsoft Visual Studio\\Installer";Co=Se,Po=(e,t,r,n,o,s)=>{if("win32"!=tt.platform)return void Ro.info("This is not a Windows virtual environment, bye!");tt.env.PATH+=Fe.delimiter+Jo;let i={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in i&&(e=i[e.toLowerCase()]);var a=[e];"true"==n&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==o&&a.push("-vcvars_spectre_libs=spectre");const c=`"${Se(s)}" ${a.join(" ")}`;Ro.debug("vcvars command-line: "+c);const l=(""+Ye.execSync(`set && cls && ${c} && cls && set`,{shell:"cmd"})).split("\f"),u=l[0].split("\r\n"),d=l[1].split("\r\n"),p=l[2].split("\r\n"),h=d.filter((e=>!(!e.match(/^\[ERROR.*\]/)||e.match(/Error in script usage. The correct usage is:$/))));if(h.length>0)throw Error("invalid parameters\r\n"+h.join("\r\n"));let f={};for(let e of u){const[t,r]=e.split("=");f[t]=r}Ro.startGroup("Environment variables");for(let e of p){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==f[t]&&(Ro.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(((e,t,r)=>r.indexOf(e)===t)).join(";")),Ro.exportVariable(t,r))}Ro.endGroup(),Ro.info("Configured Developer Command Prompt")},un=st("pcnv8"),cn=st("gmbrv"),at=st("6XIgB"),un=st("pcnv8");var Zo,Qo=Fe.resolve(__dirname,"../src/msvc"),es=(at=st("6XIgB"),cn=st("gmbrv"),{});es=st("cReTf"),Zo={id:"en",data:{long:{years:{one:"{0} year",other:"{0} years"},months:{one:"{0} month",other:"{0} months"},weeks:{one:"{0} week",other:"{0} weeks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hour",other:"{0} hours"},minutes:{one:"{0} minute",other:"{0} minutes"},seconds:{one:"{0} second",other:"{0} seconds"}},narrow:{years:{one:"{0}y",other:"{0}y"},months:{one:"{0}m",other:"{0}m"},weeks:{one:"{0}w",other:"{0}w"},days:{one:"{0}d",other:"{0}d"},hours:{one:"{0}h",other:"{0}h"},minutes:{one:"{0}m",other:"{0}m"},seconds:{one:"{0}s",other:"{0}s"}},short:{years:{one:"{0} yr",other:"{0} yrs"},months:{one:"{0} mth",other:"{0} mths"},weeks:{one:"{0} wk",other:"{0} wks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hr",other:"{0} hr"},minutes:{one:"{0} min",other:"{0} min"},seconds:{one:"{0} sec",other:"{0} sec"}}}};var ts=st("5FRs7"),rs={};st("j5MHF").addLocale("en",(e=>{var t=Math.floor(Math.abs(e)),r=(""+e).replace(/^[^.]*\.?/,"").length;return"string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r?"one":"other"}));var ns={};Object.defineProperty(ns,"__esModule",{value:!0}),ns.getUbuntuVersion=void 0,ns.getUbuntuVersion=async()=>{if("linux"!==process.platform)return[];const e=await(t="lsb_release",r=["-a"],new Promise(((e,n)=>{Ye.execFile(t,r,{encoding:"utf8",shell:!1},((o,s,i)=>{if(o)return"errno"in o&&"ENOENT"===o.code?void e(null):void n(Error(`Could not execute \`${t} ${r.join(" ")}\`: ${o} (stderr=${i})`));e(s)}))})));var t,r;if(null===e)return[];const n=/^Distributor ID:\s*(.+)$/,o=/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/,s=/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/;let i=null,a=null,c=!1;for(const t of e.split("\n")){const e=t.match(n);if(null!==e){if("Ubuntu"!==e[1])return[];c=!0}const r=t.match(o);r&&(i=r);const l=t.match(s);if(l&&(a=l),c&&i&&a)break}if(!c)return[];for(const e of[i,a])if(e){const t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map((e=>parseInt(e,10)))}return[]},lo=st("fVzwP"),un=st("pcnv8"),at=st("6XIgB"),un=st("pcnv8");let os,ss=!1;at=st("6XIgB"),at=st("6XIgB"),un=st("pcnv8"),at=st("6XIgB");const is={async nala(e,r,n){if(!I())return;if("string"==typeof os)return{binDir:os};const o=t(ct).sync("nala",{nothrow:!0});if(null!==o)return os=(0,at.dirname)(o),{binDir:os};u("/bin/bash",["-c",`echo "deb [signed-by=${await E("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key")}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await x("nala",void 0,[],!0):await x("nala-legacy",void 0,[],!0)}catch(e){await x("nala-legacy",void 0,[],!0)}return os="/usr/bin",{binDir:os}},cmake:K,ninja:Te,python:J,async vcpkg(e,r,n){return ss&&null!==t(ct).sync("vcpkg",{nothrow:!0})?{binDir:(0,at.dirname)(t(ct).sync("vcpkg"))}:("linux"===process.platform&&(C()?(_("curl"),_("zip"),_("unzip"),_("tar"),_("git"),_("pkg-config")):P()?(R("curl"),R("zip"),R("unzip"),R("tar"),R("git"),R("pkg-config")):I()&&(await x("curl"),await x("zip"),await x("unzip"),await x("tar"),await x("git"),await x("pkg-config"))),(0,Be.existsSync)((0,at.join)(r,(0,at.addShExt)("bootstrap-vcpkg",".bat")))?(0,un.notice)(`Vcpkg folder already exists at ${r}. This might mean that ~/vcpkg is restored from the cache.`):t(xt).sync("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,at.dirname)(r),stdio:"inherit"}),t(xt).sync((0,at.addShExt)((0,at.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:r,shell:!0,stdio:"inherit"}),k(r),await f(r),ss=!0,{binDir:r})},async bazel(e,t,r){switch(process.platform){case"win32":return T("bazelisk",e);case"darwin":return O("bazelisk",e);case"linux":if(C())throw Error("installing bazel on Arch linux is not supported yet");if(P())return R("dnf-plugins-core",void 0),u("dnf",["copr","enable","vbatts/bazel"]),R("bazel4",void 0);if(I())return u("bash",["-c",`echo "deb [arch=amd64 signed-by=${await E("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg")}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),x("bazel",e,[],!0);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async conan(e,t,r){return await ne("setuptools",""),ne("conan",e)},meson(e,t,r){return ne("meson",e)},gcovr(e,t,r){return ne("gcovr",e)},async opencppcoverage(e,t,r){if("win32"===process.platform)return await T("opencppcoverage",e),{binDir:await(async()=>{const e="C:/Program Files/OpenCppCoverage";return await f(e),e})()}},llvm:he,gcc:ce,choco:$,brew:n,async powershell(e,t,r){switch(process.platform){case"win32":{await T("powershell-core",e);const t="C:/Program Files/PowerShell/7";return await f(t),{binDir:t}}case"darwin":return O("powershell",e,["--cask"]);case"linux":if(C())return _("powershell-bin",e,"yay");if(P())return R("curl"),u("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),R("powershell",e);if(I()){await x("curl");const t=await Re();return u("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${t[0]}.0${t[1]}/packages-microsoft-prod.deb`]),u("dpkg",["-i","packages-microsoft-prod.deb"]),x("powershell",e,[],!0)}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},ccache(e,t,r){switch(process.platform){case"win32":return T("ccache",e);case"darwin":return O("ccache",e);case"linux":if(C())return _("ccache",e);if(P())return R("ccache",e);if(I())return x("ccache",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async doxygen(e,t,r){switch(process.platform){case"win32":{await T("doxygen.install",e);const t={binDir:await(async()=>{if("win32"===process.platform){for(const e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if((0,Be.existsSync)((0,at.join)(e,"doxygen.exe")))return await f(e),e;throw Error("Failed to find doxygen binary")}throw Error("Unsupported platform")})()};return await oe(te("graphviz",void 0)),t}case"darwin":{const e=O("doxygen",void 0);return await oe(te("graphviz",void 0)),e}case"linux":{let n;if(""===e||void 0===e||C()||P())if(C())n=_("doxygen",e);else{if(P())return R("doxygen",e);if(!I())throw Error("Unsupported linux distributions");n=await x("doxygen",e)}else{if(!I())throw Error("Unsupported linux distributions");try{n=await X("doxygen",e,se,t,r),await x("libclang-cpp9")}catch(e){(0,un.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await x("doxygen",void 0)}}return await oe(te("graphviz",void 0)),n}default:throw Error("Unsupported platform")}},graphviz:oe,async cppcheck(e,t,r){switch(process.platform){case"win32":return await T("cppcheck",e),{binDir:await(async()=>{const e="C:/Program Files/Cppcheck";return await f(e),e})()};case"darwin":return O("cppcheck",e);case"linux":if(C())return _("cppcheck",e);if(P())return R("ccache",e);if(I())return x("cppcheck",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},clangtidy:me,clangformat:me,msvc:Oe,vcvarsall:_e,async kcov(e,t,r){if("linux"!==process.platform)return void(0,un.info)("Kcov is not supported on non-linux");const n=e.split("-");let o=(e=>e.match(/^v/)?e:"v"+e)(n[0]);const s=n[1],i=(e=>parseInt(e.replace(/^v/,""),10))(o);let a;return 38===i&&(o="v38"),"binary"!==s||39>i?(a=await X("kcov",o,Ae,t,r),a):(a=await X("kcov",o,Ie,t,r),C()?_("binutils"):P()?R("binutils"):I()&&await x("libbinutils"),a)},async make(e,t,r){switch(process.platform){case"win32":return T("make",e);case"darwin":return O("make",e),await f("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(C())return _("make",e);if(P())return R("make",e);if(I())return x("make",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},task(e,t,r){return X("task",e,W,t,r)},sevenzip:A},as=["nala","choco","brew","python","powershell","vcpkg","bazel","cmake","ninja","conan","meson","gcovr","opencppcoverage","ccache","doxygen","graphviz","cppcheck","clangtidy","clangformat","llvm","gcc","msvc","vcvarsall","kcov","make","task","sevenzip"],cs=["compiler","architecture",...as];Ne(process.argv).then((e=>{process.exitCode=e})).catch((e=>{(0,un.error)("main() panicked!"),(0,un.error)(e),process.exitCode=1})); +function e(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}function r(e,t,n){if("function"==typeof t&&(n=t,t={}),!n){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(((n,o)=>{r(e,t||{},((e,t)=>{e?o(e):n(t)}))}))}dt(e,t||{},((e,r)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,r=!1),n(e,r)}))}function n(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof gt)return{binDir:gt};const o=t(ct).sync("brew",{nothrow:!0});return null!==o?(gt=(0,at.dirname)(o),{binDir:gt}):((0,Ye.execFileSync)('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),gt="/usr/local/bin/",{binDir:gt})}function o(e,t){const r=e.options.env||process.env,n=process.cwd(),o=null!=e.options.cwd,s=o&&void 0!==process.chdir&&!process.chdir.disabled;if(s)try{process.chdir(e.options.cwd)}catch(e){}let i;try{i=ct.sync(e.command,{path:r[bt({env:r})],pathExt:t?Fe.delimiter:void 0})}catch(e){}finally{s&&process.chdir(n)}return i&&(i=Fe.resolve(o?e.options.cwd:"",i)),i}function s(e,t){return Object.assign(Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function i(e,t){return kt&&1===e&&!t.file?s(t.original,"spawn"):null}function a(e,t,r){const n=yt(e,t,r),o=Ye.spawn(n.command,n.args,n.options);return At.hookChildProcess(o,n),o}async function c(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,n=Rr(t);return await new Promise(((t,o)=>{const s=e=>{e&&n.getBufferedLength()<=Ar.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),o(e)};(async()=>{try{await Nr(e,n),t()}catch(e){s(e)}})(),n.on("data",(()=>{n.getBufferedLength()>r&&s(new Lr)}))})),n.getBufferedValue()}function l(){return(!!process.env.CI||0===(null===(e=process.getuid)||void 0===e?void 0:e.call(process)))&&null!==t(ct).sync("sudo",{nothrow:!0});var e}function u(e,r=[],n={stdio:"inherit",shell:!0}){return l()?t(xt).commandSync("sudo "+[e,...r].map((e=>`'${e}'`)).join(" "),n):t(xt).sync(e,r,n)}function d(e){return l()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?(0,Fe.join)("/Users/",process.env.SUDO_USER,e):(0,Fe.join)("/home/",process.env.SUDO_USER,e):t(an)("~/"+e)}function p(e,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return t(xt)((()=>{if(void 0===dn){const e=t(ct).sync("pwsh",{nothrow:!0});null!==e&&(dn=e);const r=t(ct).sync("powershell",{nothrow:!0});null!==r&&(dn=r)}if(void 0===dn)throw Error("Could not find powershell");return dn})(),[...r,"-c",e],n)}async function h(e,r,n=!1){const o=n?t(pn)(null!=r?r:""):r;try{if("github-actions"===t(cn)())try{(0,it.exportVariable)(e,o)}catch(t){(0,un.error)(t),await m(e,o)}else await m(e,o)}catch(t){(0,un.error)(t),(0,it.setFailed)(`Failed to export environment variable ${e}=${o}. You should add it manually.`)}}async function f(e){process.env.PATH=`${e}${Fe.delimiter}${process.env.PATH}`;try{if("github-actions"===t(cn)())try{(0,it.addPath)(e)}catch(t){(0,un.error)(t),await g(e)}else await g(e)}catch(t){(0,un.error)(t),(0,it.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`)}}async function m(e,t){const r=null!=t?t:"";switch(process.platform){case"win32":return await p(`[Environment]::SetEnvironmentVariable('${e}', '${r}', "User")`),void(0,it.info)(`${e}='${r}' was set in the environment.`);case"linux":case"darwin":return v(),(0,Be.appendFileSync)(gn,`\nexport ${e}="${r}"\n`),void(0,it.info)(`${e}="${r}" was added to "${gn}`)}process.env[e]=r}async function g(e){switch(process.platform){case"win32":return await p(`$USER_PATH=([Environment]::GetEnvironmentVariable("patha", "User")); [Environment]::SetEnvironmentVariable("patha", "${e};$USER_PATH", "User")`),void(0,it.info)(`"${e}" was added to the PATH.`);case"linux":case"darwin":return v(),(0,Be.appendFileSync)(gn,`\nexport PATH="${e}:$PATH"\n`),void(0,it.info)(`"${e}" was added to "${gn}"`);default:return}}function v(){if(vn)return;const e="export SOURCE_CPPRC=0";if((0,Be.existsSync)(gn)&&(0,Be.readFileSync)(gn,"utf8").includes(e))return;(0,Be.appendFileSync)(gn,`\n${e}\n`),(0,it.info)(`Added ${e} to ${gn}`);const t=`\n# source .cpprc if SOURCE_CPPRC is not set to 0\nif [[ "$SOURCE_CPPRC" != 0 && -f "${gn}" ]]; then source "${gn}"; fi\n`;try{const e=d(".profile");(0,Be.appendFileSync)(e,t),(0,it.info)(`${t} was added to ${e}`);const r=d(".bashrc");(0,Be.appendFileSync)(r,t),(0,it.info)(`${t} was added to ${r}`)}catch(e){(0,un.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`)}vn=!0}async function x(e,r,n=[],o=!1){const s=(()=>{let e;return e=null!==t(ct).sync("nala",{nothrow:!0})?"nala":"apt-get",e})();if((0,it.info)(`Installing ${e} ${null!=r?r:""} via ${s}`),process.env.DEBIAN_FRONTEND="noninteractive",xn&&!o||(w(s),xn=!0),wn||(await(async e=>{u(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]),b(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),b(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg"),"nala"===e&&(await h("LANG","C.UTF-8"),await h("LC_ALL","C.UTF-8"))})(s),wn=!0),Array.isArray(n)&&0!==n.length){for(const e of n)u("add-apt-repository",["--update","-y",e]);w(s)}if(void 0!==r&&""!==r)try{u(s,["install","--fix-broken","-y",`${e}=${r}`])}catch{u(s,["install","--fix-broken","-y",`${e}-${r}`])}else u(s,["install","--fix-broken","-y",e]);return{binDir:"/usr/bin/"}}function w(e){u(e,"nala"!==e?["update","-y"]:["update"])}function y(){u("gpg",["-k"])}function b(e,t,r="keyserver.ubuntu.com"){const n="/etc/apt/trusted.gpg.d/"+t;if(!(0,Be.existsSync)(n)){y();for(const t of e)u("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",t]),u("chmod",["644",n])}return n}async function E(e,t){const r="/etc/apt/trusted.gpg.d/"+e;return(0,Be.existsSync)(r)||(y(),await x("curl",void 0),u("bash",["-c",`curl -s ${t} | gpg --no-default-keyring --keyring gnupg-ring:${r} --import`]),u("chmod",["644",r])),r}function S(e,r){return"github-actions"===t(cn)()?u("update-alternatives",["--install","/usr/bin/"+e,e,r,"40"]):(v(),(0,Be.appendFileSync)(gn,`\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${r} 40; fi\n`))}function _(e,t,r){(0,un.info)(`Installing ${e} ${null!=t?t:""} via pacman`);const n="pacman";if(yn||(u(n,["-Syuu","--noconfirm"]),yn=!0),bn||(u(n,["-Sy","--noconfirm","base-devel"]),bn=!0),void 0!==t&&""!==t)try{u(null!=r?r:n,["-S","--noconfirm",`${e}=${t}`])}catch{u(null!=r?r:n,["-S","--noconfirm",`${e}${t}`])}else u(null!=r?r:n,["-S","--noconfirm",e]);return{binDir:"/usr/bin/"}}function O(e,r,o=[]){return(0,it.info)(`Installing ${e} ${null!=r?r:""} via brew`),Sn&&null!==t(ct).sync("brew",{nothrow:!0})||(n(0,0,process),Sn=!0),t(xt).sync("brew",["install",void 0!==r&&""!==r?`${e}@${r}`:e,...o],{stdio:"inherit"}),{binDir:"/usr/local/bin/"}}async function $(e,r,n){if("win32"!==process.platform)return;if("string"==typeof En)return{binDir:En};const o=t(ct).sync("choco",{nothrow:!0});if(null!==o)return En=(0,at.dirname)(o),{binDir:En};let s="powershell.exe";const i=t(ct).sync(process.env.SystemRoot+"\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",{nothrow:!0});null!==i&&(s=i),t(xt).sync(s,["-NoProfile","-InputFormat","None","-ExecutionPolicy","Bypass","-Command","[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"],{stdio:"inherit"});const a=process.env.ALLUSERSPROFILE+"\\chocolatey\\bin";await f(a);const c=t(ct).sync("choco",{nothrow:!0});var l;return En=null!==c?(0,at.dirname)(c):(null!==(l=process.env.ChocolateyInstall)&&void 0!==l?l:"C:/ProgramData/chocolatey")+"/bin",(0,Be.existsSync)(En)?{binDir:En}:void 0}async function T(e,r,n=[]){(0,it.info)(`Installing ${e} ${null!=r?r:""} via chocolatey`),Tn&&null!==t(ct).sync("choco",{nothrow:!0})||(await $(0,0,process),Tn=!0);const o=process.env.PATH,s={...process.env};if(delete s.TMP,delete s.TEMP,delete s.Path,s.PATH=o,void 0!==r&&""!==r)t(xt).sync("choco",["install","-y",e,"--version="+r,...n],{env:s,extendEnv:!1,stdio:"inherit"});else try{t(xt).sync("choco",["install","-y",e,...n],{env:s,extendEnv:!1,stdio:"inherit"})}catch(t){if(!t.message.includes("exit code 3010"))throw t;(0,un.notice)(e+" might require a reboot for the completion of the installation.")}var i;const a=(null!==(i=process.env.ChocolateyInstall)&&void 0!==i?i:"C:/ProgramData/chocolatey")+"/bin";return await f(a),{binDir:a}}function C(){return"linux"===process.platform&&(void 0===_n&&(_n=null!==t(ct).sync("pacman",{nothrow:!0})),_n)}function P(){return"linux"===process.platform&&(void 0===On&&(On=null!==t(ct).sync("dnf",{nothrow:!0})),On)}function R(e,t){(0,un.info)(`Installing ${e} ${null!=t?t:""} via dnf`);const r="dnf";if(void 0!==t&&""!==t)try{u(r,["-y","install",`${e}-${t}`])}catch(t){(0,un.warning)(t+"\nInstalling the default version available via dnf"),u(r,["-y","install",e])}else u(r,["-y","install",e]);return{binDir:"/usr/bin/"}}function I(){if("linux"!==process.platform)return!1;if(void 0===$n){const e="apt-get";$n=null!==t(ct).sync(e,{nothrow:!0})}return $n}function A(e,t,r){switch(process.platform){case"win32":return T("7zip",e);case"darwin":return O("p7zip",e);case"linux":if(C())return _("p7zip",e);if(P())return R("p7zip",e),R("p7zip-plugins",e);if(I())return x("p7zip-full",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function k(e){"linux"!==process.platform&&"darwin"!==process.platform||!l()||void 0===process.env.SUDO_USER||u("chown",["-R",process.env.SUDO_USER,e],{cwd:e,stdio:"inherit",shell:!0})}function N(e,t){const r=[];t=t||Fn.arch();const n=Bn.join(F(),e);if(Un.existsSync(n)){const e=Un.readdirSync(n);for(const o of e)if(U(o)){const e=Bn.join(n,o,t||"");Un.existsSync(e)&&Un.existsSync(e+".complete")&&r.push(o)}}return r}function L(e){return Nn(this,void 0,void 0,(function*(){return e||(e=Bn.join(B(),Vn.default())),yield Dn.mkdirP(e),e}))}function j(e,t,r){return Nn(this,void 0,void 0,(function*(){const n=Bn.join(F(),e,zn.clean(t)||t,r||"");jn.debug("destination "+n);const o=n+".complete";return yield Dn.rmRF(n),yield Dn.rmRF(o),yield Dn.mkdirP(n),n}))}function D(e,t,r){const n=Bn.join(F(),e,zn.clean(t)||t,r||"");Un.writeFileSync(n+".complete",""),jn.debug("finished caching tool")}function U(e){const t=zn.clean(e)||"";jn.debug("isExplicit: "+t);const r=null!=zn.valid(t);return jn.debug("explicit? "+r),r}function M(e,t){let r="";jn.debug(`evaluating ${e.length} versions`);for(let n=(e=e.sort(((e,t)=>zn.gt(e,t)?1:-1))).length-1;n>=0;n--){const o=e[n];if(zn.satisfies(o,t)){r=o;break}}return jn.debug(r?"matched: "+r:"match not found"),r}function F(){const e=process.env.RUNNER_TOOL_CACHE||"";return Xe.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function B(){const e=process.env.RUNNER_TEMP||"";return Xe.ok(e,"Expected RUNNER_TEMP to be defined"),e}function G(e,t){const r=rt[e];return void 0!==r?r:t}async function z(e,r){return await t(xt)(await(async()=>(void 0===no&&(null===t(ct).sync("7z",{nothrow:!0})&&await A("",0,process),no="7z"),no))(),["x",e,"-o"+r,"-y"],{stdio:"inherit"}),k(r),r}function H(e,t){return z(e,t)}function q(e,t){return z(e,t)}async function V(e,r,n=["--strip-components=0"]){try{await(0,Cn.mkdirP)(r)}catch{}try{await t(xt)("tar",["xf",e,"-C",r,...n],{stdio:"inherit"})}catch(t){"win32"===process.platform&&t.message.includes("Can't create '\\\\?\\C:")&&(0,un.warning)(`Failed to extract symlink ${e} to ${r}. Ignoring this symlink.`)}return k(r),r}async function X(e,r,n,o,s){var i,a;(0,it.info)(`Installing ${e} ${r} ${s} via direct downloading`),process.env.RUNNER_TEMP=null!==(i=process.env.RUNNER_TEMP)&&void 0!==i?i:(0,Me.tmpdir)(),process.env.RUNNER_TOOL_CACHE=null!==(a=process.env.RUNNER_TOOL_CACHE)&&void 0!==a?a:(0,at.join)((0,Me.tmpdir)(),"setup-cpp","hostedtoolcache");const{url:c,binRelativeDir:l,binFileName:u,extractedFolderName:d,extractFunction:p}=await n(r,process.platform,s);if("github-actions"===t(cn)())try{const t=(0,Pn.find)(e,r);if(t){const n=(0,at.join)(t,d),o=(0,at.join)(n,l);if((0,Be.existsSync)(o)&&(0,Be.existsSync)((0,at.join)(o,u)))return(0,it.info)(`${e} ${r} was found in the cache at ${o}.`),await f(o),{installDir:n,binDir:o}}}catch{}const h=(0,at.join)(o,d),m=(0,at.join)(h,l),g=(0,at.join)(m,u);if(!(0,Be.existsSync)(m)||!(0,Be.existsSync)(g)){(0,it.info)(`Download and extract ${e} ${r}`),oo||("linux"===process.platform&&(C()?(_("unzip"),_("tar"),_("xz")):P()?(R("unzip"),R("tar"),R("xz")):I()&&(await x("unzip"),await x("tar"),await x("xz-utils"))),oo=!0);try{const e=await(0,Pn.downloadTool)(c);await(null==p?void 0:p(e,o))}catch(t){throw Error(`Failed to download ${e} ${r} ${s} from ${c}: ${t}`)}}return(0,it.info)(`Add ${m} to PATH`),await f(m),"github-actions"===t(cn)()&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&await(0,Pn.cacheDir)(o,e,r),{installDir:h,binDir:m}}function W(e,t,r){const n=(e=>"win32"===e?"windows":e)(t),o=(e=>{switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e}})(r),s="win32"===t,i=s?"zip":"tar.gz";return{binRelativeDir:"",binFileName:(0,at.addExeExt)("task"),extractedFolderName:"",extractFunction:s?q:V,url:`https://github.com/go-task/task/releases/download/v${e}/task_${n}_${o}.${i}`}}function Y(e,r,n){var o;const s=null!==(o=t(io)(e))&&void 0!==o?o:e;switch(r){case"win32":{const r=t(so)(s,"v3.19.6");let o;o=["ia32","x86","i386","x32"].includes(n)?r?"win32-x86":"windows-i386":r?"win64-x64":"windows-x86_64";const i=`cmake-${e}-${o}`;return{binRelativeDir:"bin/",binFileName:(0,at.addExeExt)("cmake"),extractedFolderName:i,extractFunction:q,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${i}.zip`}}case"darwin":{const r=`cmake-${e}-${t(so)(s,"v3.19.1")?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,at.addExeExt)("cmake"),extractedFolderName:r,extractFunction:Pn.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`}}case"linux":{const r=t(so)(s,"v3.19.8");let o;o=["aarch64"].includes(n)?r?"Linux-aarch64":"linux-aarch64":r?"Linux-x86_64":"linux-x86_64";const i=`cmake-${e}-${o}`;return{binRelativeDir:"bin/",binFileName:(0,at.addExeExt)("cmake"),extractedFolderName:i,extractFunction:Pn.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${i}.tar.gz`}}default:throw Error(`Unsupported platform '${r}'`)}}function K(e,t,r){return X("cmake",e,Y,t,r)}async function J(e,r,n){if("github-actions"!==t(cn)())return Z(e,r);try{(0,un.info)("Installing python in GitHub Actions");const{setupActionsPython:t}=await st("dgtoh");return t(e,r,n)}catch(t){return(0,un.warning)(""+t),Z(e,r)}}async function Z(e,r,n){switch(process.platform){case"win32":{var o,s;r?await T("python3",e,["--params=/InstallDir:"+r]):await T("python3",e);const n=null!==(s=null!==(o=t(ct).sync("python3.exe",{nothrow:!0}))&&void 0!==o?o:t(ct).sync("python.exe",{nothrow:!0}))&&void 0!==s?s:(0,at.join)(r,"python.exe"),i=(0,at.dirname)(n);return await(async e=>{(0,un.info)(`Add ${e} to PATH`),await f(e)})(i),{installDir:i,binDir:i}}case"darwin":return O("python3",e);case"linux":{let t;if(C())t=_("python",e),_("python-pip");else if(P())t=R("python3",e),R("python3-pip");else{if(!I())throw Error("Unsupported linux distributions");t=await x("python3",e),await x("python3-pip")}return t}default:throw Error("Unsupported platform")}}function Q(e,t){return new Promise((r=>{try{const n=(0,He.request)(e,{method:t},(e=>{r((e=>void 0!==e.statusCode&&e.statusCode>=200&&399>=e.statusCode)(e))}));n.on("error",(e=>{r(!1)})),n.end()}catch{r(!1)}}))}function ee(e,t){return Array.from(e).filter((e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t))).sort().reverse()}function te(e,t,r=null){if(re(t,e)){if("linux"===process.platform&&null!==r&&e in ho){const t=r[0];return parseInt(Object.keys(ho[e])[0],10)>t?"":ho[e][t]}return po[e]}return null!=t?t:""}function re(e,t){return"true"===e||void 0===e&&t in po}async function ne(e,r){if((0,it.info)(`Installing ${e} ${null!=r?r:""} via pip`),void 0===fo){if(null!==t(ct).sync("python3",{nothrow:!0}))fo="python3";else{if(null===t(ct).sync("python",{nothrow:!0})||!await(async(e,r,n=uo)=>{const o=await(async(e,t=uo)=>{try{var r;const n=await(0,Xn.getExecOutput)(e,["--version"]);return null===(r=(n.stdout||n.stderr||"").trim().match(t))||void 0===r?void 0:r[1]}catch(e){return void console.error(e)}})(e,n);return"string"==typeof o&&"string"==typeof r&&""!==o&&""!==r&&-1!==t(co)(o,r)})("python","3.0.0")){if((0,it.info)("python3 was not found. Installing python"),await J(te("python",void 0),"",process.arch),go)throw Error("Failed to install python");return go=!0,ne(e,r)}fo="python"}"win32"===process.platform?t(xt).sync(fo,["-m","pip","install","-U","pip==21.3.1"],{stdio:"inherit"}):"linux"===process.platform&&(C()?_("python-pip"):P()?R("python3-pip"):I()&&await x("python3-pip")),t(xt).sync(fo,["-m","pip","install","-U","wheel"],{stdio:"inherit"})}if(t(xt).sync(fo,["-m","pip","install",void 0!==r&&""!==r?`${e}==${r}`:e],{stdio:"inherit"}),void 0===mo){if("linux"===process.platform)mo="/home/runner/.local/bin/";else if("darwin"===process.platform)mo="/usr/local/bin/";else try{mo=(0,at.join)((await(0,Xn.getExecOutput)(fo+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}catch{mo=(0,at.join)((await(0,Xn.getExecOutput)(fo+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}(0,it.info)(mo+" to PATH"),await f(mo)}return{binDir:mo}}async function oe(e,t,r){switch(process.platform){case"win32":return await T("graphviz",e),(async()=>{if("win32"===process.platform){const e="C:/Program Files/Graphviz/bin";return await f(e),{binDir:e}}throw Error("Unsupported platform")})();case"darwin":return O("graphviz",e);case"linux":if(C())return _("graphviz",e);if(P())return R("graphviz",e);if(I())return x("graphviz",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function se(e,t,r){switch(t){case"linux":{const t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,at.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:Pn.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`}}case"win32":{const t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,at.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:q,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`}}default:throw Error(`Unsupported platform '${t}'`)}}async function ie(){if("darwin"===process.platform)try{const e=await(0,Xn.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await h("SDKROOT",t.trim()):(0,un.error)("SDKROOT not set")}catch(e){(0,un.error)(e)}}function ae(e,t,r){if("win32"===t){const t=wo[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);const n="ia32"===r?"i686":"x86_64",o="seh";return{binRelativeDir:"bin/",binFileName:(0,at.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:z,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${n}-posix-${o}-gcc-${t.fileSuffix}.7z`}}throw Error(`Unsupported platform '${t}'`)}async function ce(e,r,n){let o;switch(process.platform){case"win32":"arm"!==n&&"arm64"!==n||await T("gcc-arm-embedded",e);try{o=await X("g++",e,ae,r,n)}catch(t){(0,un.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),o=await(async(e,t)=>{let r;var n,o;return await T("mingw",e),"x64"===t&&(0,Be.existsSync)("C:/tools/mingw64/bin")?(r="C:/tools/mingw64/bin",await f(r)):"ia32"===t&&(0,Be.existsSync)("C:/tools/mingw32/bin")?(r="C:/tools/mingw32/bin",await f(r)):(0,Be.existsSync)((null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey")+"/bin/g++.exe")&&(r=(null!==(o=process.env.ChocolateyInstall)&&void 0!==o?o:"C:/ProgramData/chocolatey")+"/bin"),void 0!==r?{binDir:r}:void 0})(e,n)}break;case"darwin":o=O("gcc",e);break;case"linux":"x64"===n?C()?o=_("gcc",e):P()?(o=R("gcc",e),R("gcc-c++",e),R("libstdc++-devel",void 0)):I()&&(await x("gcc",e,["ppa:ubuntu-toolchain-r/test"]),o=await x("g++",e,[])):((0,un.info)(`Install g++-multilib because gcc for ${n} was requested`),C()?_("gcc-multilib",e):I()&&await x("gcc-multilib",e,["ppa:ubuntu-toolchain-r/test"]));break;default:throw Error("Unsupported platform for "+n)}if(void 0!==o)return await(async(e,r)=>{const n=[];if("win32"===process.platform)n.push(h("CC",(0,at.addExeExt)(r+"/gcc")),h("CXX",(0,at.addExeExt)(r+"/g++")));else{var o;const s=t(vo)(null!==(o=t(io)(e))&&void 0!==o?o:e);5>s?(n.push(h("CC",`${r}/gcc-${e}`),h("CXX",`${r}/g++-${e}`)),I()&&(S("cc",`${r}/gcc-${e}`),S("cxx",`${r}/g++-${e}`),S("gcc",`${r}/gcc-${e}`),S("g++",`${r}/g++-${e}`))):(n.push(h("CC",`${r}/gcc-${s}`),h("CXX",`${r}/g++-${s}`)),I()&&(S("cc",`${r}/gcc-${s}`),S("cxx",`${r}/g++-${s}`),S("gcc",`${r}/gcc-${s}`),S("g++",`${r}/g++-${s}`)))}n.push(ie()),"github-actions"===t(cn)()&&(()=>{const e=(0,at.join)(xo,"gcc_matcher.json");if(!(0,Be.existsSync)(e))return(0,un.warning)("the gcc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,un.info)("::add-matcher::"+e)})(),await Promise.all(n)})(e,o.binDir),o}function le(e,t,r){return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${t}${e}${r}`}function ue(e,t,r){return`https://releases.llvm.org/${e}/${t}${e}${r}`}function de(e,r){switch(e){case"darwin":return(e=>{if(Eo.has(e))return null;const r="clang+llvm-",n=`-x86_64${"9.0.0"===e?"-darwin-apple":"-apple-darwin"}.tar.xz`;return t(so)(e,"9.0.1")?ue(e,r,n):le(e,r,n)})(r);case"linux":return(e=>{let r=e;const n=So.get(r);let o;if(void 0!==n&&(r=n),r.includes("ubuntu")){const e=r.replace(/-ubuntu-.*/,"");if(!bo.has(e))throw Error("Unsupported Ubuntu version: "+e);o=r.replace(e,""),r=ee(bo,e)[0]}else""!==r&&r in _o?o=_o[r]:(o=_o["14.0.0"],(0,un.warning)(`Falling back to LLVM version 14.0.0 ${o} for the Ubuntu.`));const s="clang+llvm-",i="5.0.0"===r?`-linux-x86_64${o}.tar.xz`:`-x86_64-linux-gnu${o}.tar.xz`;return t(so)(r,"9.0.1")?ue(r,s,i):le(r,s,i)})(r);case"win32":return(async e=>{if(Oo.has(e))return null;const r="LLVM-",n=t(so)(e,"3.7.0")?"-win32.exe":"-win64.exe",o=t(so)(e,"9.0.1");let s,i=!1;return o&&(s=ue(e,r,n),await ao(s)||(i=!0)),!i&&o||(s=le(e,r,n)),s})(r);default:return null}}async function pe(e,t,r){const[n,o]=await(async(e,t,r,n)=>{if("linux"===t&&r.includes("ubuntu")){const e=await n(t,r);if(null!==e&&await ao(e))return[r,e]}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}')`);for(const o of ee(e,r)){const e=await n(t,o);if(null!==e&&await ao(e))return[o,e]}throw Error(`Unsupported target! (platform='${t}', version='${r}')`)})(bo,t,e,de);return(0,it.setOutput)("version",n),{url:o,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,at.addExeExt)("clang"),extractFunction:"win32"===t?H:(e,t)=>V(e,t,["--strip-components=1"])}}async function he(e,r,n){const o=await fe(e,r,n);var s;return await(async(e,r)=>{const n=(e=>{if(null===t(lo)(e))try{const r=t(io)(e);if(null!==r)return(0,un.info)(`Coerced version '${e}' to '${r}'`),r.version}catch(e){}return e})(r),o=(0,at.join)(e,"lib");var s;const i=null!==(s=process.env.LD_LIBRARY_PATH)&&void 0!==s?s:"";var a;const c=null!==(a=process.env.DYLD_LIBRARY_PATH)&&void 0!==a?a:"",l=[h("LLVM_PATH",e),h("LD_LIBRARY_PATH",`${o}${Fe.delimiter}${i}`),h("DYLD_LIBRARY_PATH",`${o}${Fe.delimiter}${c}`),h("LDFLAGS",`-L"${e}/lib"`),h("CPPFLAGS",`-I"${e}/include"`),h("CC",(0,at.addExeExt)(e+"/bin/clang")),h("CXX",(0,at.addExeExt)(e+"/bin/clang++")),h("LIBRARY_PATH",e+"/lib"),ie()];if("win32"!==process.platform){const r=t(vo)(n);(0,Be.existsSync)(`${e}/lib/clang/${n}/include`)?l.push(h("CPATH",`${e}/lib/clang/${n}/include`)):(0,Be.existsSync)(`${e}/lib/clang/${r}/include`)&&l.push(h("CPATH",`${e}/lib/clang/${r}/include`))}I()&&(S("cc",e+"/bin/clang"),S("cxx",e+"/bin/clang++"),S("clang",e+"/bin/clang"),S("clang++",e+"/bin/clang++"),S("lld",e+"/bin/lld"),S("ld.lld",e+"/bin/ld.lld"),S("llvm-ar",e+"/bin/llvm-ar")),"github-actions"===t(cn)()&&ge(),await Promise.all(l)})(null!==(s=o.installDir)&&void 0!==s?s:r,e),o}async function fe(e,t,r){const n=await X("llvm",e,pe,t,r);return $o||("linux"===process.platform&&(await ce(te("gcc",void 0),"",r),C()||I()&&await x("libtinfo-dev")),$o=!0),n}function me(e,r,n){return"github-actions"===t(cn)()&&ge(),fe(e,r,n)}function ge(){const e=(0,at.join)(yo,"llvm_matcher.json");if(!(0,Be.existsSync)(e))return(0,un.warning)("the llvm_matcher.json file does not exist in the same folder as setup_cpp.js");(0,un.info)("::add-matcher::"+e)}function ve(e,t,r){const n=new Do(e,t,r);process.stdout.write(""+n+Lo.EOL)}function xe(e){ko.issue("error",e instanceof Error?""+e:e)}function we(e){ko.issue("group",e)}function ye(){ko.issue("endgroup")}function be(e){return Object.values(Ko).includes(e)?e:e in Ko?Ko[e]:e}function Ee(e){if(Object.keys(Ko).includes(e))return e;for(const[t,r]of Object.entries(Ko))if(r===e)return t;return e}function Se(e){const t=be(e);let r;if(t){const e=t.split(".")[0]+".9";r=`-version "${t},${e}"`}else r="-latest";let n=((e,t)=>{try{return(""+Ye.execSync(`vswhere -products * ${t} -prerelease -property installationPath`)).trim()+"\\VC\\Auxiliary\\Build\\vcvarsall.bat"}catch(e){Ro.warning("vswhere failed: "+e)}return null})(0,r);if(n&&Be.existsSync(n))return Ro.info("Found with vswhere: "+n),n;Ro.info("Not found with vswhere");const o=e?[Ee(e)]:Yo;for(const e of Xo)for(const t of o)for(const r of Wo)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,Ro.info("Trying standard location: "+n),Be.existsSync(n))return Ro.info("Found standard location: "+n),n;if(Ro.info("Not found in standard locations"),n=Vo+"\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat",Be.existsSync(n))return Ro.info("Found VS 2015: "+n),n;throw Ro.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found")}async function _e(e,t,r,n,o,s,i){void 0!==t&&(0,Be.existsSync)(t)&&((0,un.info)(`Adding ${t} to PATH`),await h("VCTargetsPath",t)),Po((e=>{switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e}})(r),o,n,s,i,e)}async function Oe(e,r,n,o,s,i){if("win32"!==process.platform)return;const a=To(e);(0,un.info)(`Checking if MSVC ${a} is already installed`);let c,l,u=!1;try{const e=Co(a);u=!0,(0,un.info)("Found the pre-installed version of MSVC at "+e)}catch{}if(!u)try{"14.0"===a?(c="14.0",await T("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),l="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===a?(c="14.16",await T("visualstudio2017buildtools","15.9.41.0",[]),l="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===a?(c="14.29",await T("visualstudio2019buildtools","16.11.7.0",[]),l="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===a?(c=void 0,await T("visualstudio2022buildtools","117.0.5.0",[]),l=void 0):(0,un.error)(`The given MSVC versions ${e} is not supported yet.`)}catch(e){(0,un.error)(e)}await _e(a,l,n,c,o,s,i),"github-actions"===t(cn)()&&(()=>{const e=(0,at.join)(Qo,"msvc_matcher.json");if(!(0,Be.existsSync)(e))return(0,un.warning)("the msvc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,un.info)("::add-matcher::"+e)})()}function $e(e,t,r){const n=(e=>{switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`)}})(t);return{binRelativeDir:"",binFileName:(0,at.addExeExt)("ninja"),extractedFolderName:"",extractFunction:q,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`}}function Te(e,t,r){return X("ninja",e,$e,t,r)}function Ce(e){return null==e?[]:Array.isArray(e)?e:[e]}function Pe(e,t,r,n){var o,s=e[t],i=~n.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~n.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(o=+r)==0?o:r),!!r)):0*(o=+r)==0?o:r;e[t]=null==s?i:Array.isArray(s)?s.concat(i):[s,i]}async function Re(){if(I()){null===t(ct).sync("lsb_release",{nothrow:!0})&&await x("lsb-release");const e=await(0,ns.getUbuntuVersion)();if(0===e.length)throw Error("Failed to get the ubuntu major version.");return e}return null}function Ie(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,at.addExeExt)("kcov"),extractFunction:V}}function Ae(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,at.addExeExt)("kcov"),extractFunction:ke}}async function ke(e,r){const n=await V(e,r,["--strip-components=1"]),o=await(async()=>{let e=t(ct).sync("cmake",{nothrow:!0});if(null===e){const{binDir:t}=await K(te("cmake",void 0),(0,at.join)(d(""),"cmake"),"");e=(0,at.join)(t,"cmake")}return null===t(ct).sync("ninja",{nothrow:!0})&&await Te(te("ninja",void 0),(0,at.join)(d(""),"ninja"),""),e})();"linux"===process.platform&&(C()?(_("libdwarf"),_("libcurl-openssl")):P()?(R("libdwarf-devel"),R("libcurl-devel")):I()&&(await x("libdw-dev"),await x("libcurl4-openssl-dev")));const s=(0,at.join)(n,"build");return await t(xt)(o,["-S",n,"-B",s,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:n,stdio:"inherit"}),await t(xt)(o,["--build",s,"--config","Release"],{cwd:n,stdio:"inherit"}),n}async function Ne(e){"github-actions"!==t(cn)()&&(process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");const r=Le(e);var n;r.help&&(0,un.info)('\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\t the to install.\n \t You can specify the version instead of specifying just the name e.g: --compiler \'llvm-13.0.0\'\n\n--tool_name\t pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n ');const o=null!==(n=r.architecture)&&void 0!==n?n:process.arch;var s;const i=null!==(s=process.env.SETUP_CPP_DIR)&&void 0!==s?s:d(""),a=[],c=[],l=es.create({autoloadLocales:!0});let u,p;es.addLocale(t(Zo)),ts.addLocale(t(rs));let f=null;try{f=await Re()}catch(e){(0,un.warning)(""+e)}if(!((e,t)=>{for(let r=0;t.length>r;r++){const n=t.slice(0,r).concat(t.slice(r+1)),o=t[r];if(!re(e[o],o))for(let t=0;n.length>t;t++){const r=n[t];if(re(e[r],n[t]))e[r]=e[o];else if(e[o]!==e[n[t]])return!1}}return!0})(r,["llvm","clangtidy","clangformat"]))return(0,un.error)("The same version must be used for llvm, clangformat and clangtidy"),1;for(const e of as){const t=r[e];if(void 0!==t){u=Date.now(),(0,it.startGroup)(`Installing ${e} ${t}`);try{let r;if("vcvarsall"===e)await _e(te(e,t,f),void 0,o,void 0,void 0,!1,!1);else{const n=is[e],s=(0,at.join)(i,["llvm","clangformat","clangtidy"].includes(e)?"llvm":e);r=await n(te(e,t,f),s,o)}a.push(Ue(e,r))}catch(t){(0,un.error)(t),c.push(e+" failed to install")}(0,it.endGroup)(),p=Date.now(),(0,un.info)("took "+(l.format(u,p)||"0 seconds"))}}const m=r.compiler;u=Date.now();try{if(void 0!==m){const{compiler:e,version:t}=je(m);switch((0,it.startGroup)(`Installing ${e} ${null!=t?t:""}`),e){case"llvm":case"clang":case"clang++":{const e=await he(te("llvm",t,f),(0,at.join)(i,"llvm"),o);a.push(Ue("llvm",e));break}case"gcc":case"mingw":case"cygwin":case"msys":{const e=await ce(te("gcc",t,f),(0,at.join)(i,"gcc"),o);a.push(Ue("gcc",e));break}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{const e=await Oe(te("msvc",t,f),(0,at.join)(i,"msvc"),o);a.push(Ue("msvc",e));break}case"appleclang":case"applellvm":(0,it.notice)("Assuming apple-clang is already installed"),await Promise.all([h("CC","clang"),h("CXX","clang++")]),a.push(Ue("apple-clang",void 0));break;default:c.push("Unsupported compiler "+e)}(0,it.endGroup)(),p=Date.now(),(0,un.info)("took "+(l.format(u,p)||"0 seconds"))}}catch(e){(0,un.error)(e),c.push("Failed to install the "+m),(0,it.endGroup)(),p=Date.now(),(0,un.info)("took "+(l.format(u,p)||"0 seconds"))}if(0===a.length&&0===c.length)return(0,un.warning)("setup_cpp was called without any arguments. Nothing to do."),0;if(a.forEach((e=>(0,un.success)(e))),c.forEach((e=>(0,un.error)(e))),(0,un.info)("setup_cpp finished"),"github-actions"!==t(cn)())switch(process.platform){case"win32":(0,un.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,un.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.")}return 0===c.length?0:1}function Le(e){return((e,t)=>{var r,n,o,s,i,a={_:[]},c=0,l=0,u=0,d=(e=e||[]).length;const p=void 0!==(t=t||{}).alias,h=void 0!==t.unknown,f=void 0!==t.default;if(t.alias=t.alias||{},t.string=Ce(t.string),t.boolean=Ce(t.boolean),p)for(r in t.alias)for(n=t.alias[r]=Ce(t.alias[r]),c=0;n.length>c;c++)(t.alias[n[c]]=n.concat(r)).splice(c,1);for(c=t.boolean.length;c-- >0;)for(l=(n=t.alias[t.boolean[c]]||[]).length;l-- >0;)t.boolean.push(n[l]);for(c=t.string.length;c-- >0;)for(l=(n=t.alias[t.string[c]]||[]).length;l-- >0;)t.string.push(n[l]);if(f)for(r in t.default)if(s=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[s])for(t[s].push(r),c=0;n.length>c;c++)t[s].push(n[c]);const m=h?Object.keys(t.alias):[];for(c=0;d>c;c++){if("--"===(o=e[c])){a._=a._.concat(e.slice(++c));break}for(l=0;o.length>l&&45===o.charCodeAt(l);l++);if(0===l)a._.push(o);else if("no-"===o.substring(l,l+3)){if(s=o.substring(l+3),h&&!~m.indexOf(s))return t.unknown(o);a[s]=!1}else{for(u=l+1;o.length>u&&61!==o.charCodeAt(u);u++);for(s=o.substring(l,u),i=o.substring(++u)||c+1===d||45===(""+e[c+1]).charCodeAt(0)||e[++c],n=2===l?[s]:s,u=0;n.length>u;u++){if(s=n[u],h&&!~m.indexOf(s))return t.unknown("-".repeat(l)+s);Pe(a,s,n.length>u+1||i,t)}}}if(f)for(r in t.default)void 0===a[r]&&(a[r]=t.default[r]);if(p)for(r in a)for(n=t.alias[r]||[];n.length>0;)a[n.shift()]=a[r];return a})(e,{string:cs,default:Object.fromEntries(cs.map((e=>[e,De(e)]))),alias:{h:"help"},boolean:"help"})}function je(e){const r=e.split("-"),n=r[0];if(1 in r){const e=r[1];return null!==t(lo)(e)||(0,un.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:n,version:e}}return{compiler:n,version:void 0}}function De(e){const t=(0,it.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t}function Ue(e,t){let r=`✅ ${e} was installed successfully:`;return void 0===t||("installDir"in t&&(r+="\n- The installation directory is "+t.installDir),""!==t.binDir&&(r+="\n- The binary directory is "+t.binDir)),r}var Me=require("os"),Fe=require("path"),Be=require("fs"),Ge=require("crypto"),ze=require("http"),He=require("https");require("net");var qe=require("tls"),Ve=require("events"),Xe=require("assert"),We=require("util"),Ye=require("child_process"),Ke=require("string_decoder"),Je=require("timers"),Ze=require("buffer"),Qe=require("stream"),et=require("url"),tt=require("process"),rt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},nt={},ot={},st=rt.parcelRequire810d;null==st&&((st=e=>{if(e in nt)return nt[e].exports;if(e in ot){var t=ot[e];delete ot[e];var r={id:e,exports:{}};return nt[e]=r,t.call(r.exports,r,r.exports),r.exports}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=(e,t)=>{ot[e]=t},rt.parcelRequire810d=st),st.register("enS5B",(function(e,t){"use strict";function r(e,t){const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return t&&!1===t.trimWhitespace?r:r.trim()}function n(e,t={}){u.issueCommand("error",p.toCommandProperties(t),e instanceof Error?""+e:e)}function o(e){u.issue("group",e)}function s(){u.issue("endgroup")}var i=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),a=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),c=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&i(t,e,r);return a(t,e),t}),l=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0;var u=st("BN3hS"),d=st("ggfP6"),p=st("1gUXU");const h=c(Me),f=c(Fe);st("aWhCt");var m,g,v=st("bTj1Z"),x=st("69Mk5");(g=m=e.exports.ExitCode||(e.exports.ExitCode={}))[g.Success=0]="Success",g[g.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=p.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="ghadelimiter_"+v.default();if(e.includes(t))throw Error(`Unexpected input: name should not contain the delimiter "${t}"`);if(r.includes(t))throw Error(`Unexpected input: value should not contain the delimiter "${t}"`);d.issueCommand("ENV",`${e}<<${t}${h.EOL}${r}${h.EOL}${t}`)}else u.issueCommand("set-env",{name:e},r)},e.exports.setSecret=e=>{u.issueCommand("add-mask",{},e)},e.exports.addPath=e=>{process.env.GITHUB_PATH?d.issueCommand("PATH",e):u.issueCommand("add-path",{},e),process.env.PATH=`${e}${f.delimiter}${process.env.PATH}`},e.exports.getInput=r,e.exports.getMultilineInput=(e,t)=>r(e,t).split("\n").filter((e=>""!==e)),e.exports.getBooleanInput=(e,t)=>{const n=r(e,t);if(["true","True","TRUE"].includes(n))return!0;if(["false","False","FALSE"].includes(n))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)},e.exports.setOutput=(e,t)=>{process.stdout.write(h.EOL),u.issueCommand("set-output",{name:e},t)},e.exports.setCommandEcho=e=>{u.issue("echo",e?"on":"off")},e.exports.setFailed=e=>{process.exitCode=m.Failure,n(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=n,e.exports.warning=(e,t={})=>{u.issueCommand("warning",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.notice=(e,t={})=>{u.issueCommand("notice",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+h.EOL)},e.exports.startGroup=o,e.exports.endGroup=s,e.exports.group=function(e,t){return l(this,void 0,void 0,(function*(){let r;o(e);try{r=yield t()}finally{s()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||"",e.exports.getIDToken=function(e){return l(this,void 0,void 0,(function*(){return yield x.OidcClient.getIDToken(e)}))};var w=st("9tSJs");Object.defineProperty(e.exports,"summary",{enumerable:!0,get(){return w.summary}}),w=st("9tSJs"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get(){return w.markdownSummary}});var y=st("k6K8l");Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get(){return y.toPosixPath}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get(){return y.toWin32Path}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get(){return y.toPlatformPath}})})),st.register("BN3hS",(function(e,t){"use strict";function r(e,t,r){const n=new c(e,t,r);process.stdout.write(""+n+i.EOL)}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const i=s(Me);var a=st("1gUXU");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class c{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,a.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>a.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}})),st.register("1gUXU",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),e.exports.toCommandProperties=e=>Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),st.register("ggfP6",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const s=o(Be),i=o(Me);var a=st("1gUXU");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!s.existsSync(r))throw Error("Missing file at path: "+r);s.appendFileSync(r,`${a.toCommandValue(t)}${i.EOL}`,{encoding:"utf8"})}})),st.register("aWhCt",((t,r)=>{e(t.exports,"v4",(()=>st("bTj1Z").default)),st("bTj1Z")})),st.register("bTj1Z",((t,r)=>{e(t.exports,"default",(()=>s));var n=st("5x7Ba"),o=st("FUqvx"),s=(e,t,r)=>{const s=(e=e||{}).random||(e.rng||n.default)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){r=r||0;for(let e=0;16>e;++e)t[r+e]=s[e];return t}return(0,o.default)(s)}})),st.register("5x7Ba",((r,n)=>{function o(){return i>s.length-16&&(t(Ge).randomFillSync(s),i=0),s.slice(i,i+=16)}e(r.exports,"default",(()=>o));const s=new Uint8Array(256);let i=s.length})),st.register("FUqvx",((t,r)=>{e(t.exports,"default",(()=>s));var n=st("kYWmF");const o=[];for(let e=0;256>e;++e)o.push((e+256).toString(16).substr(1));var s=(e,t=0)=>{const r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,n.default)(r))throw TypeError("Stringified UUID is invalid");return r}})),st.register("kYWmF",((t,r)=>{e(t.exports,"default",(()=>o));var n=st("1J9r9"),o=e=>"string"==typeof e&&n.default.test(e)})),st.register("1J9r9",((t,r)=>{e(t.exports,"default",(()=>n));var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i})),st.register("69Mk5",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=st("4z9RF"),o=st("7v249"),s=st("enS5B");class i{static createHttpClient(e=!0,t=10){const r={allowRetries:e,maxRetries:t};return new n.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(i.getRequestToken())],r)}static getRequestToken(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){var t;return r(this,void 0,void 0,(function*(){const r=i.createHttpClient(),n=yield r.getJson(e).catch((e=>{throw Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)})),o=null===(t=n.result)||void 0===t?void 0:t.value;if(!o)throw Error("Response json body do not have ID Token field");return o}))}static getIDToken(e){return r(this,void 0,void 0,(function*(){try{let t=i.getIDTokenUrl();e&&(t=`${t}&audience=${encodeURIComponent(e)}`),s.debug("ID token url is "+t);const r=yield i.getCall(t);return s.setSecret(r),r}catch(e){throw Error("Error message: "+e.message)}}))}}e.exports.OidcClient=i})),st.register("4z9RF",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.HttpClient=e.exports.isHttps=e.exports.HttpClientResponse=e.exports.HttpClientError=e.exports.getProxyUrl=e.exports.MediaTypes=e.exports.Headers=e.exports.HttpCodes=void 0;const i=o(ze),a=o(He),c=o(st("2IaKG")),l=o(st("bbp3j"));var u,d,p,h,f;(d=u=e.exports.HttpCodes||(e.exports.HttpCodes={}))[d.OK=200]="OK",d[d.MultipleChoices=300]="MultipleChoices",d[d.MovedPermanently=301]="MovedPermanently",d[d.ResourceMoved=302]="ResourceMoved",d[d.SeeOther=303]="SeeOther",d[d.NotModified=304]="NotModified",d[d.UseProxy=305]="UseProxy",d[d.SwitchProxy=306]="SwitchProxy",d[d.TemporaryRedirect=307]="TemporaryRedirect",d[d.PermanentRedirect=308]="PermanentRedirect",d[d.BadRequest=400]="BadRequest",d[d.Unauthorized=401]="Unauthorized",d[d.PaymentRequired=402]="PaymentRequired",d[d.Forbidden=403]="Forbidden",d[d.NotFound=404]="NotFound",d[d.MethodNotAllowed=405]="MethodNotAllowed",d[d.NotAcceptable=406]="NotAcceptable",d[d.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",d[d.RequestTimeout=408]="RequestTimeout",d[d.Conflict=409]="Conflict",d[d.Gone=410]="Gone",d[d.TooManyRequests=429]="TooManyRequests",d[d.InternalServerError=500]="InternalServerError",d[d.NotImplemented=501]="NotImplemented",d[d.BadGateway=502]="BadGateway",d[d.ServiceUnavailable=503]="ServiceUnavailable",d[d.GatewayTimeout=504]="GatewayTimeout",(h=p=e.exports.Headers||(e.exports.Headers={})).Accept="accept",h.ContentType="content-type",(f=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=e=>{const t=c.getProxyUrl(new URL(e));return t?t.href:""};const m=[u.MovedPermanently,u.ResourceMoved,u.SeeOther,u.TemporaryRedirect,u.PermanentRedirect],g=[u.BadGateway,u.ServiceUnavailable,u.GatewayTimeout],v=["OPTIONS","GET","DELETE","HEAD"];class x extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,x.prototype)}}e.exports.HttpClientError=x;class w{constructor(e){this.message=e}readBody(){return s(this,void 0,void 0,(function*(){return new Promise((e=>s(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])})),this.message.on("end",(()=>{e(""+t)}))}))))}))}}e.exports.HttpClientResponse=w,e.exports.isHttps=e=>"https:"===new URL(e).protocol,e.exports.HttpClient=class{constructor(e,t,r){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=e,this.handlers=t||[],this.requestOptions=r,r&&(null!=r.ignoreSslError&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,null!=r.allowRedirects&&(this._allowRedirects=r.allowRedirects),null!=r.allowRedirectDowngrade&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),null!=r.maxRedirects&&(this._maxRedirects=Math.max(r.maxRedirects,0)),null!=r.keepAlive&&(this._keepAlive=r.keepAlive),null!=r.allowRetries&&(this._allowRetries=r.allowRetries),null!=r.maxRetries&&(this._maxRetries=r.maxRetries))}options(e,t){return s(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return s(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return s(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return s(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return s(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return s(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return s(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,n){return s(this,void 0,void 0,(function*(){return this.request(e,t,r,n)}))}getJson(e,t={}){return s(this,void 0,void 0,(function*(){t[p.Accept]=this._getExistingOrDefaultHeader(t,p.Accept,f.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t,r={}){return s(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const o=yield this.post(e,n,r);return this._processResponse(o,this.requestOptions)}))}putJson(e,t,r={}){return s(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const o=yield this.put(e,n,r);return this._processResponse(o,this.requestOptions)}))}patchJson(e,t,r={}){return s(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const o=yield this.patch(e,n,r);return this._processResponse(o,this.requestOptions)}))}request(e,t,r,n){return s(this,void 0,void 0,(function*(){if(this._disposed)throw Error("Client has already been disposed.");const o=new URL(t);let s=this._prepareRequest(e,o,n);const i=this._allowRetries&&v.includes(e)?this._maxRetries+1:1;let a,c=0;do{if(a=yield this.requestRaw(s,r),a&&a.message&&a.message.statusCode===u.Unauthorized){let e;for(const t of this.handlers)if(t.canHandleAuthentication(a)){e=t;break}return e?e.handleAuthentication(this,s,r):a}let t=this._maxRedirects;for(;a.message.statusCode&&m.includes(a.message.statusCode)&&this._allowRedirects&&t>0;){const i=a.message.headers.location;if(!i)break;const c=new URL(i);if("https:"===o.protocol&&o.protocol!==c.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield a.readBody(),c.hostname!==o.hostname)for(const e in n)"authorization"===e.toLowerCase()&&delete n[e];s=this._prepareRequest(e,c,n),a=yield this.requestRaw(s,r),t--}if(!a.message.statusCode||!g.includes(a.message.statusCode))return a;c+=1,i>c&&(yield a.readBody(),yield this._performExponentialBackoff(c))}while(i>c);return a}))}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,t){return s(this,void 0,void 0,(function*(){return new Promise(((r,n)=>{this.requestRawWithCallback(e,t,((e,t)=>{e?n(e):t?r(t):n(Error("Unknown error"))}))}))}))}requestRawWithCallback(e,t,r){function n(e,t){o||(o=!0,r(e,t))}"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let o=!1;const s=e.httpModule.request(e.options,(e=>{n(void 0,new w(e))}));let i;s.on("socket",(e=>{i=e})),s.setTimeout(this._socketTimeout||18e4,(()=>{i&&i.end(),n(Error("Request timeout: "+e.options.path))})),s.on("error",(e=>{n(e)})),t&&"string"==typeof t&&s.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(()=>{s.end()})),t.pipe(s)):s.end()}getAgent(e){const t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const o="https:"===n.parsedUrl.protocol;n.httpModule=o?a:i;const s=o?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):s,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(const e of this.handlers)e.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},y(this.requestOptions.headers),y(e||{})):y(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=y(this.requestOptions.headers)[t]),e[t]||n||r}_getAgent(e){let t;const r=c.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;const o="https:"===e.protocol;let s=100;if(this.requestOptions&&(s=this.requestOptions.maxSockets||i.globalAgent.maxSockets),r&&r.hostname){const e={maxSockets:s,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let n;const i="https:"===r.protocol;n=o?i?l.httpsOverHttps:l.httpsOverHttp:i?l.httpOverHttps:l.httpOverHttp,t=n(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:s};t=o?new a.Agent(e):new i.Agent(e),this._agent=t}return t||(t=o?a.globalAgent:i.globalAgent),o&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){return s(this,void 0,void 0,(function*(){const t=5*Math.pow(2,e=Math.min(10,e));return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return s(this,void 0,void 0,(function*(){return new Promise(((r,n)=>s(this,void 0,void 0,(function*(){const o=e.message.statusCode||0,s={statusCode:o,result:null,headers:{}};let i,a;o===u.NotFound&&r(s);try{a=yield e.readBody(),a&&a.length>0&&(i=t&&t.deserializeDates?JSON.parse(a,((e,t)=>{if("string"==typeof t){const e=new Date(t);if(!isNaN(e.valueOf()))return e}return t})):JSON.parse(a),s.result=i),s.headers=e.message.headers}catch(e){}if(o>299){let e;e=i&&i.message?i.message:a&&a.length>0?a:`Failed request: (${o})`;const t=new x(e,o);t.result=s.result,n(t)}else r(s)}))))}))}};const y=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})})),st.register("2IaKG",((e,t)=>{"use strict";function r(e){if(!e.hostname)return!1;const t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=+e.port:"http:"===e.protocol?r=80:"https:"===e.protocol&&(r=443);const n=[e.hostname.toUpperCase()];"number"==typeof r&&n.push(`${n[0]}:${r}`);for(const e of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(n.some((t=>t===e)))return!0;return!1}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=e=>{const t="https:"===e.protocol;if(r(e))return;const n=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;return n?new URL(n):void 0},e.exports.checkBypass=r})),st.register("bbp3j",((e,t)=>{e.exports=st("fNJ5J")})),st.register("fNJ5J",(function(t,r){function n(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||ze.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",((e,r,n,o)=>{for(var i=s(r,n,o),a=0,c=t.requests.length;c>a;++a){var l=t.requests[a];if(l.host===i.host&&l.port===i.port)return t.requests.splice(a,1),void l.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function o(e,t){var r=this;n.prototype.createSocket.call(r,e,(n=>{var o=e.request.getHeader("host"),s=i({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):e.host}),a=qe.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,t(a)}))}function s(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function i(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var o=Object.keys(n),s=0,i=o.length;i>s;++s){var a=o[s];void 0!==n[a]&&(e[a]=n[a])}}return e}var a,c,l,u,d,p;e(t.exports,"httpOverHttp",(()=>a),(e=>a=e)),e(t.exports,"httpsOverHttp",(()=>c),(e=>c=e)),e(t.exports,"httpOverHttps",(()=>l),(e=>l=e)),e(t.exports,"httpsOverHttps",(()=>u),(e=>u=e)),e(t.exports,"debug",(()=>d),(e=>d=e)),a=e=>{var t=new n(e);return t.request=ze.request,t},c=e=>{var t=new n(e);return t.request=ze.request,t.createSocket=o,t.defaultPort=443,t},l=e=>{var t=new n(e);return t.request=He.request,t},u=e=>{var t=new n(e);return t.request=He.request,t.createSocket=o,t.defaultPort=443,t},We.inherits(n,Ve.EventEmitter),n.prototype.addRequest=function(e,t,r,n){var o=this,a=i({request:e},o.options,s(t,r,n));this.maxSockets>o.sockets.length?o.createSocket(a,(t=>{function r(){o.emit("free",t,a)}function n(e){o.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n)}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t)})):o.requests.push(a)},n.prototype.createSocket=function(e,t){function r(r,s,i){var c;return a.removeAllListeners(),s.removeAllListeners(),200!==r.statusCode?(p("tunneling socket could not be established, statusCode=%d",r.statusCode),s.destroy(),(c=Error("tunneling socket could not be established, statusCode="+r.statusCode)).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(o)):i.length>0?(p("got illegal response body from proxy"),s.destroy(),(c=Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(o)):(p("tunneling connection has established"),n.sockets[n.sockets.indexOf(o)]=s,t(s))}var n=this,o={};n.sockets.push(o);var s=i({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),p("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",(e=>{e.upgrade=!0})),a.once("upgrade",((e,t,n)=>{process.nextTick((()=>{r(e,t,n)}))})),a.once("connect",r),a.once("error",(t=>{a.removeAllListeners(),p("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=Error("tunneling socket could not be established, cause="+t.message);r.code="ECONNRESET",e.request.emit("error",r),n.removeSocket(o)})),a.end()},n.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,(e=>{r.request.onSocket(e)}))}},d=p=()=>{}})),st.register("7v249",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.PersonalAccessTokenCredentialHandler=e.exports.BearerCredentialHandler=e.exports.BasicCredentialHandler=void 0,e.exports.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from(`${this.username}:${this.password}`).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.BearerCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Bearer "+this.token}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from("PAT:"+this.token).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}}})),st.register("9tSJs",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;const{access:n,appendFile:o,writeFile:s}=Be.promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";const i=new class{constructor(){this._buffer=""}filePath(){return r(this,void 0,void 0,(function*(){if(this._filePath)return this._filePath;const t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield n(t,Be.constants.R_OK|Be.constants.W_OK)}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`}write(e){return r(this,void 0,void 0,(function*(){const t=!!(null==e?void 0:e.overwrite),r=yield this.filePath(),n=t?s:o;return yield n(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()}))}clear(){return r(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:!0})}))}stringify(){return this._buffer}isEmptyBuffer(){return 0===this._buffer.length}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(Me.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=!1){const r=t?"ol":"ul",n=e.map((e=>this.wrap("li",e))).join(""),o=this.wrap(r,n);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if("string"==typeof e)return this.wrap("td",e);const{header:t,data:r,colspan:n,rowspan:o}=e,s=t?"th":"td",i=Object.assign(Object.assign({},n&&{colspan:n}),o&&{rowspan:o});return this.wrap(s,r,i)})).join("");return this.wrap("tr",t)})).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:o}=r||{},s=Object.assign(Object.assign({},n&&{width:n}),o&&{height:o}),i=this.wrap("img",null,Object.assign({src:e,alt:t},s));return this.addRaw(i).addEOL()}addHeading(e,t){const r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",o=this.wrap(n,e);return this.addRaw(o).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}};e.exports.markdownSummary=i,e.exports.summary=i})),st.register("k6K8l",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;const s=o(Fe);e.exports.toPosixPath=e=>e.replace(/[\\]/g,"/"),e.exports.toWin32Path=e=>e.replace(/[/]/g,"\\"),e.exports.toPlatformPath=e=>e.replace(/[/\\]/g,s.sep)})),st.register("6XIgB",((t,r)=>{function n(e,t){return Object.keys(t).forEach((r=>{"default"===r||"__esModule"===r||e.hasOwnProperty(r)||Object.defineProperty(e,r,{enumerable:!0,get:()=>t[r]})})),e}function o(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function s(e,t=!0){return t?(0,Fe.basename)(e):(0,Fe.basename)(e,(0,Fe.extname)(e))}function i(e){return(0,Fe.normalize)(e).replace(RegExp((e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})(Fe.sep)+"$"),"")}function a(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function c(e,t){const r=(0,Fe.extname)(e),n=`${t}${(0,Fe.basename)(e,r)}${r}`;return(0,Fe.join)((0,Fe.dirname)(e),n)}function l(e,t){const r=(0,Fe.extname)(e),n=`${(0,Fe.basename)(e,r)}${t}${r}`;return(0,Fe.join)((0,Fe.dirname)(e),n)}function u(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function d(e){return"win32"===process.platform?e:"./"+e}function p(e){const t=(0,Fe.extname)(e).length;return e.slice(0,-t)}function h(e,t){return(e=>e&&e.__esModule?e.default:e)(_)(e,t)}function f(e,t){const r=(0,Fe.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+Fe.sep)||r===(0,Fe.resolve)(e))}e(t.exports,"addExeExt",(()=>a)),e(t.exports,"addShExt",(()=>u)),e(t.exports,"addShRelativePrefix",(()=>d)),e(t.exports,"dirname",(()=>Fe.dirname)),e(t.exports,"join",(()=>Fe.join));var m={},g={};o(g,"name",(()=>s));var v={};o(v,"normalizeTrim",(()=>i));var x={};o(x,"addExeExt",(()=>a));var w={};o(w,"addNamePrefix",(()=>c));var y={};o(y,"addNameSuffix",(()=>l));var b={};o(b,"addShExt",(()=>u));var E={};o(E,"addShRelativePrefix",(()=>d));var S={};o(S,"removeExt",(()=>p));var _,O={};o(O,"replaceExt",(()=>h)),_=(e,t)=>{if("string"!=typeof e)return e;if(0===e.length)return e;var r,n=(0,Fe.basename)(e,(0,Fe.extname)(e))+t,o=(0,Fe.join)((0,Fe.dirname)(e),n);return(r=e.slice(0,2))==="."+Fe.sep||"./"===r?"."+Fe.sep+o:o};var $={};o($,"isPathInside",(()=>f)),n(m,g),n(m,v),n(m,x),n(m,w),n(m,y),n(m,b),n(m,E),n(m,S),n(m,O),n(m,$)})),st.register("ftrAD",((e,t)=>{function r(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&((e,t)=>{var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;r.length>n;n++){var o=r[n].toLowerCase();if(o&&e.substr(-o.length).toLowerCase()===o)return!0}return!1})(t,r)}function n(e,t,n){Be.stat(e,((o,s)=>{n(o,!o&&r(s,e,t))}))}e.exports=n,n.sync=(e,t)=>r(Be.statSync(e),e,t)})),st.register("9yF3I",((e,t)=>{function r(e,t,r){Be.stat(e,((e,o)=>{r(e,!e&&n(o,t))}))}function n(e,t){return e.isFile()&&((e,t)=>{var r=e.mode,n=e.uid,o=e.gid,s=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),i=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8),l=a|c;return r&parseInt("001",8)||r&c&&o===i||r&a&&n===s||r&l&&0===s})(e,t)}e.exports=r,r.sync=(e,t)=>n(Be.statSync(e),t)})),st.register("bJALw",((e,t)=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")})),st.register("gmbrv",((e,t)=>{e.exports=()=>process.env.GERRIT_PROJECT?"gerrit":process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI?"azure-pipelines":process.env.BITRISE_IO?"bitrise":process.env.BUDDY_WORKSPACE_ID?"buddy":process.env.BUILDKITE?"buildkite":process.env.CIRRUS_CI?"cirrus":process.env.GITLAB_CI?"gitlab":process.env.APPVEYOR?"appveyor":process.env.CIRCLECI?"circle-ci":process.env.SEMAPHORE?"semaphore":process.env.DRONE?"drone":process.env.DSARI?"dsari":process.env.GITHUB_ACTION?"github-actions":process.env.TDDIUM?"tddium":process.env.SCREWDRIVER?"screwdriver":process.env.STRIDER?"strider":process.env.TASKCLUSTER_ROOT_URL?"taskcluster":process.env.JENKINS_URL?"jenkins":process.env["bamboo.buildKey"]?"bamboo":process.env.GO_PIPELINE_NAME?"gocd":process.env.HUDSON_URL?"hudson":process.env.WERCKER?"wercker":process.env.NETLIFY?"netlify":process.env.NOW_GITHUB_DEPLOYMENT?"now-github":process.env.GITLAB_DEPLOYMENT?"now-gitlab":process.env.BITBUCKET_DEPLOYMENT?"now-bitbucket":process.env.BITBUCKET_BUILD_NUMBER?"bitbucket-pipelines":process.env.NOW_BUILDER?"now":process.env.VERCEL_GITHUB_DEPLOYMENT?"vercel-github":process.env.VERCEL_GITLAB_DEPLOYMENT?"vercel-gitlab":process.env.VERCEL_BITBUCKET_DEPLOYMENT?"vercel-bitbucket":process.env.VERCEL_URL?"vercel":process.env.MAGNUM?"magnum":process.env.NEVERCODE?"nevercode":process.env.RENDER?"render":process.env.SAIL_CI?"sail":process.env.SHIPPABLE?"shippable":process.env.TEAMCITY_VERSION?"teamcity":process.env.CI_NAME?process.env.CI_NAME:/\/\.heroku\/node\/bin\/node$/.test(process.env.NODE||"")?"heroku":process.env.TRAVIS?"travis-ci":process.env.CODEBUILD_SRC_DIR?"aws-codebuild":"true"===process.env.CI||"1"===process.env.CI?"custom":!!process.env.BUILDER_OUTPUT&&"builder"})),st.register("pcnv8",((r,n)=>{function o(e){return"github-actions"===t(u)()?l.error(e):console.log(`${e}`)}function s(e){return console.log(`${e}`)}function i(e){return"github-actions"===t(u)()?l.warning(e):console.log(`${e}`)}function a(e){return"github-actions"===t(u)()?l.notice(e):console.log(`${e}`)}function c(e){return"github-actions"===t(u)()?l.info(e):console.log(e)}e(r.exports,"error",(()=>o)),e(r.exports,"success",(()=>s)),e(r.exports,"warning",(()=>i)),e(r.exports,"notice",(()=>a)),e(r.exports,"info",(()=>c));var l=st("04fde"),u=st("gmbrv")})),st.register("04fde",(function(e,t){"use strict";function r(e,t){const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return t&&!1===t.trimWhitespace?r:r.trim()}function n(e,t={}){u.issueCommand("error",p.toCommandProperties(t),e instanceof Error?""+e:e)}function o(e){u.issue("group",e)}function s(){u.issue("endgroup")}var i=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),a=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),c=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&i(t,e,r);return a(t,e),t}),l=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0;var u=st("2iva8"),d=st("kCOkT"),p=st("hGWy4");const h=c(Me),f=c(Fe);var m,g,v=st("1hWAC");(g=m=e.exports.ExitCode||(e.exports.ExitCode={}))[g.Success=0]="Success",g[g.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=p.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";d.issueCommand("ENV",`${e}<<${t}${h.EOL}${r}${h.EOL}${t}`)}else u.issueCommand("set-env",{name:e},r)},e.exports.setSecret=e=>{u.issueCommand("add-mask",{},e)},e.exports.addPath=e=>{process.env.GITHUB_PATH?d.issueCommand("PATH",e):u.issueCommand("add-path",{},e),process.env.PATH=`${e}${f.delimiter}${process.env.PATH}`},e.exports.getInput=r,e.exports.getMultilineInput=(e,t)=>r(e,t).split("\n").filter((e=>""!==e)),e.exports.getBooleanInput=(e,t)=>{const n=r(e,t);if(["true","True","TRUE"].includes(n))return!0;if(["false","False","FALSE"].includes(n))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)},e.exports.setOutput=(e,t)=>{process.stdout.write(h.EOL),u.issueCommand("set-output",{name:e},t)},e.exports.setCommandEcho=e=>{u.issue("echo",e?"on":"off")},e.exports.setFailed=e=>{process.exitCode=m.Failure,n(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=n,e.exports.warning=(e,t={})=>{u.issueCommand("warning",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.notice=(e,t={})=>{u.issueCommand("notice",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+h.EOL)},e.exports.startGroup=o,e.exports.endGroup=s,e.exports.group=function(e,t){return l(this,void 0,void 0,(function*(){let r;o(e);try{r=yield t()}finally{s()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||"",e.exports.getIDToken=function(e){return l(this,void 0,void 0,(function*(){return yield v.OidcClient.getIDToken(e)}))};var x=st("hILBc");Object.defineProperty(e.exports,"summary",{enumerable:!0,get(){return x.summary}}),x=st("hILBc"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get(){return x.markdownSummary}});var w=st("39f1T");Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get(){return w.toPosixPath}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get(){return w.toWin32Path}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get(){return w.toPlatformPath}})})),st.register("2iva8",(function(e,t){"use strict";function r(e,t,r){const n=new c(e,t,r);process.stdout.write(""+n+i.EOL)}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const i=s(Me);var a=st("hGWy4");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class c{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,a.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>a.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}})),st.register("hGWy4",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),e.exports.toCommandProperties=e=>Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),st.register("kCOkT",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const s=o(Be),i=o(Me);var a=st("hGWy4");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!s.existsSync(r))throw Error("Missing file at path: "+r);s.appendFileSync(r,`${a.toCommandValue(t)}${i.EOL}`,{encoding:"utf8"})}})),st.register("1hWAC",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=st("4z9RF"),o=st("7v249"),s=st("04fde");class i{static createHttpClient(e=!0,t=10){const r={allowRetries:e,maxRetries:t};return new n.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(i.getRequestToken())],r)}static getRequestToken(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){var t;return r(this,void 0,void 0,(function*(){const r=i.createHttpClient(),n=yield r.getJson(e).catch((e=>{throw Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)})),o=null===(t=n.result)||void 0===t?void 0:t.value;if(!o)throw Error("Response json body do not have ID Token field");return o}))}static getIDToken(e){return r(this,void 0,void 0,(function*(){try{let t=i.getIDTokenUrl();e&&(t=`${t}&audience=${encodeURIComponent(e)}`),s.debug("ID token url is "+t);const r=yield i.getCall(t);return s.setSecret(r),r}catch(e){throw Error("Error message: "+e.message)}}))}}e.exports.OidcClient=i})),st.register("hILBc",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;const{access:n,appendFile:o,writeFile:s}=Be.promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";const i=new class{constructor(){this._buffer=""}filePath(){return r(this,void 0,void 0,(function*(){if(this._filePath)return this._filePath;const t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield n(t,Be.constants.R_OK|Be.constants.W_OK)}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`}write(e){return r(this,void 0,void 0,(function*(){const t=!!(null==e?void 0:e.overwrite),r=yield this.filePath(),n=t?s:o;return yield n(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()}))}clear(){return r(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:!0})}))}stringify(){return this._buffer}isEmptyBuffer(){return 0===this._buffer.length}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(Me.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=!1){const r=t?"ol":"ul",n=e.map((e=>this.wrap("li",e))).join(""),o=this.wrap(r,n);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if("string"==typeof e)return this.wrap("td",e);const{header:t,data:r,colspan:n,rowspan:o}=e,s=t?"th":"td",i=Object.assign(Object.assign({},n&&{colspan:n}),o&&{rowspan:o});return this.wrap(s,r,i)})).join("");return this.wrap("tr",t)})).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:o}=r||{},s=Object.assign(Object.assign({},n&&{width:n}),o&&{height:o}),i=this.wrap("img",null,Object.assign({src:e,alt:t},s));return this.addRaw(i).addEOL()}addHeading(e,t){const r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",o=this.wrap(n,e);return this.addRaw(o).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}};e.exports.markdownSummary=i,e.exports.summary=i})),st.register("39f1T",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;const s=o(Fe);e.exports.toPosixPath=e=>e.replace(/[\\]/g,"/"),e.exports.toWin32Path=e=>e.replace(/[/]/g,"\\"),e.exports.toPlatformPath=e=>e.replace(/[/\\]/g,s.sep)})),st.register("fvrnx",(function(e,t){"use strict";function r(e){return u(this,void 0,void 0,(function*(){if(h.IS_WINDOWS){if(/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{const t=h.getCmdPath();(yield h.isDirectory(e,!0))?yield f(t+' /s /c "rd /s /q "%inputPath%""',{env:{inputPath:e}}):yield f(t+' /s /c "del /f /a "%inputPath%""',{env:{inputPath:e}})}catch(e){if("ENOENT"!==e.code)throw e}try{yield h.unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}else{let t=!1;try{t=yield h.isDirectory(e)}catch(e){if("ENOENT"!==e.code)throw e;return}t?yield m("rm",["-rf",""+e]):yield h.unlink(e)}}))}function n(e){return u(this,void 0,void 0,(function*(){Xe.ok(e,"a path argument must be provided"),yield h.mkdir(e,{recursive:!0})}))}function o(e){return u(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'tool' is required");const t=[];if(h.IS_WINDOWS&&process.env.PATHEXT)for(const e of process.env.PATHEXT.split(p.delimiter))e&&t.push(e);if(h.isRooted(e)){const r=yield h.tryGetExecutablePath(e,t);return r?[r]:[]}if(e.includes(p.sep))return[];const r=[];if(process.env.PATH)for(const e of process.env.PATH.split(p.delimiter))e&&r.push(e);const n=[];for(const o of r){const r=yield h.tryGetExecutablePath(p.join(o,e),t);r&&n.push(r)}return n}))}function s(e,t,r,o){return u(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield n(t);const a=yield h.readdir(e);for(const n of a){const a=`${e}/${n}`,c=`${t}/${n}`;(yield h.lstat(a)).isDirectory()?yield s(a,c,r,o):yield i(a,c,o)}yield h.chmod(t,(yield h.stat(e)).mode)}))}function i(e,t,r){return u(this,void 0,void 0,(function*(){if((yield h.lstat(e)).isSymbolicLink()){try{yield h.lstat(t),yield h.unlink(t)}catch(e){"EPERM"===e.code&&(yield h.chmod(t,"0666"),yield h.unlink(t))}const r=yield h.readlink(e);yield h.symlink(r,t,h.IS_WINDOWS?"junction":null)}else(yield h.exists(t))&&!r||(yield h.copyFile(e,t))}))}var a=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),c=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),l=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&a(t,e,r);return c(t,e),t}),u=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.findInPath=e.exports.which=e.exports.mkdirP=e.exports.rmRF=e.exports.mv=e.exports.cp=void 0;const d=l(Ye),p=l(Fe),h=l(st("2GOko")),f=We.promisify(d.exec),m=We.promisify(d.execFile);e.exports.cp=function(e,t,r={}){return u(this,void 0,void 0,(function*(){const{force:n,recursive:o,copySourceDirectory:a}=(e=>({force:null==e.force||e.force,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory}))(r),c=(yield h.exists(t))?yield h.stat(t):null;if(c&&c.isFile()&&!n)return;const l=c&&c.isDirectory()&&a?p.join(t,p.basename(e)):t;if(!(yield h.exists(e)))throw Error("no such file or directory: "+e);if((yield h.stat(e)).isDirectory()){if(!o)throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield s(e,l,0,n)}else{if(""===p.relative(e,l))throw Error(`'${l}' and '${e}' are the same file`);yield i(e,l,n)}}))},e.exports.mv=function(e,t,o={}){return u(this,void 0,void 0,(function*(){if(yield h.exists(t)){let n=!0;if((yield h.isDirectory(t))&&(t=p.join(t,p.basename(e)),n=yield h.exists(t)),n){if(null!=o.force&&!o.force)throw Error("Destination already exists");yield r(t)}}yield n(p.dirname(t)),yield h.rename(e,t)}))},e.exports.rmRF=r,e.exports.mkdirP=n,e.exports.which=function e(t,r){return u(this,void 0,void 0,(function*(){if(!t)throw Error("parameter 'tool' is required");if(r){const r=yield e(t,!1);if(!r)throw Error(h.IS_WINDOWS?`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`:`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return r}const n=yield o(t);return n&&n.length>0?n[0]:""}))},e.exports.findInPath=o})),st.register("2GOko",(function(e,t){"use strict";function r(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid()}var n,o=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),s=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),i=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&o(t,e,r);return s(t,e),t}),a=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getCmdPath=e.exports.tryGetExecutablePath=e.exports.isRooted=e.exports.isDirectory=e.exports.exists=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;const c=i(Be),l=i(Fe);e.exports.chmod=(n=c.promises).chmod,e.exports.copyFile=n.copyFile,e.exports.lstat=n.lstat,e.exports.mkdir=n.mkdir,e.exports.readdir=n.readdir,e.exports.readlink=n.readlink,e.exports.rename=n.rename,e.exports.rmdir=n.rmdir,e.exports.stat=n.stat,e.exports.symlink=n.symlink,e.exports.unlink=n.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.exists=function(t){return a(this,void 0,void 0,(function*(){try{yield e.exports.stat(t)}catch(e){if("ENOENT"===e.code)return!1;throw e}return!0}))},e.exports.isDirectory=function(t,r=!1){return a(this,void 0,void 0,(function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory()}))},e.exports.isRooted=t=>{if(!(t=(t=>(t=t||"",e.exports.IS_WINDOWS?(t=t.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):t.replace(/\/\/+/g,"/")))(t)))throw Error('isRooted() parameter "p" cannot be empty');return e.exports.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")},e.exports.tryGetExecutablePath=function(t,n){return a(this,void 0,void 0,(function*(){let o;try{o=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(o&&o.isFile())if(e.exports.IS_WINDOWS){const e=l.extname(t).toUpperCase();if(n.some((t=>t.toUpperCase()===e)))return t}else if(r(o))return t;const s=t;for(const i of n){t=s+i,o=void 0;try{o=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(o&&o.isFile()){if(e.exports.IS_WINDOWS){try{const r=l.dirname(t),n=l.basename(t).toUpperCase();for(const o of yield e.exports.readdir(r))if(n===o.toUpperCase()){t=l.join(r,o);break}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`)}return t}if(r(o))return t}}return""}))},e.exports.getCmdPath=()=>{var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe"}})),st.register("6kHxT",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;const i=o(st("4URNm"));var a=st("enS5B");e.exports._findMatch=function(t,r,n,o){return s(this,void 0,void 0,(function*(){const s=Me.platform();let c,l,u;for(const c of n){const n=c.version;if(a.debug(`check ${n} satisfies ${t}`),i.satisfies(n,t)&&(!r||c.stable===r)&&(u=c.files.find((t=>{a.debug(`${t.arch}===${o} && ${t.platform}===${s}`);let r=t.arch===o&&t.platform===s;if(r&&t.platform_version){const n=e.exports._getOsVersion();r=n===t.platform_version||i.satisfies(n,t.platform_version)}return r})),u)){a.debug("matched "+c.version),l=c;break}}return l&&u&&(c=Object.assign({},l),c.files=[u]),c}))},e.exports._getOsVersion=()=>{const t=Me.platform();let r="";if("darwin"===t)r=""+Ye.execSync("sw_vers -productVersion");else if("linux"===t){const t=e.exports._readLinuxVersionFile();if(t){const e=t.split("\n");for(const t of e){const e=t.split("=");if(2===e.length&&("VERSION_ID"===e[0].trim()||"DISTRIB_RELEASE"===e[0].trim())){r=e[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return r},e.exports._readLinuxVersionFile=()=>{const e="/etc/lsb-release",t="/etc/os-release";let r="";return Be.existsSync(e)?r=""+Be.readFileSync(e):Be.existsSync(t)&&(r=""+Be.readFileSync(t)),r}})),st.register("4URNm",((e,t)=>{var r=st("bikcG");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:st("bgOMw").SEMVER_SPEC_VERSION,SemVer:st("7qUJS"),compareIdentifiers:st("12NXI").compareIdentifiers,rcompareIdentifiers:st("12NXI").rcompareIdentifiers,parse:st("gdrva"),valid:st("fVzwP"),clean:st("hOYls"),inc:st("dGcr6"),diff:st("bBssn"),major:st("fB2B7"),minor:st("bye2i"),patch:st("87ZGF"),prerelease:st("4agny"),compare:st("howpO"),rcompare:st("zcbgY"),compareLoose:st("iGBo4"),compareBuild:st("80ezM"),sort:st("4qmtg"),rsort:st("4pjXu"),gt:st("6KPS4"),lt:st("lr5pz"),eq:st("jXghC"),neq:st("fqqGA"),gte:st("5cRW4"),lte:st("fwsB7"),cmp:st("823yM"),coerce:st("1YYsi"),Comparator:st("eR6XK"),Range:st("hvUff"),satisfies:st("c8FZS"),toComparators:st("2J2hR"),maxSatisfying:st("lbfMG"),minSatisfying:st("5wbuE"),minVersion:st("hZRNG"),validRange:st("fqnzG"),outside:st("77bPN"),gtr:st("gD8Tz"),ltr:st("bpPww"),intersects:st("cHIUn"),simplifyRange:st("k8aCs"),subset:st("388OD")}})),st.register("bikcG",((e,t)=>{var r=st("bgOMw").MAX_SAFE_COMPONENT_LENGTH,n=st("jkMsx");const o=(t=e.exports={}).re=[],s=t.src=[],i=t.t={};let a=0;const c=(e,t,r)=>{const c=a++;n(e,c,t),i[e]=c,s[c]=t,o[c]=RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${s[i.NUMERICIDENTIFIER]}|${s[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${s[i.NUMERICIDENTIFIERLOOSE]}|${s[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${s[i.PRERELEASEIDENTIFIER]}(?:\\.${s[i.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${s[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[i.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${s[i.BUILDIDENTIFIER]}(?:\\.${s[i.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${s[i.MAINVERSION]}${s[i.PRERELEASE]}?${s[i.BUILD]}?`),c("FULL",`^${s[i.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${s[i.MAINVERSIONLOOSE]}${s[i.PRERELEASELOOSE]}?${s[i.BUILD]}?`),c("LOOSE",`^${s[i.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",s[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),c("XRANGEIDENTIFIER",s[i.NUMERICIDENTIFIER]+"|x|X|\\*"),c("XRANGEPLAIN",`[v=\\s]*(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:${s[i.PRERELEASE]})?${s[i.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:${s[i.PRERELEASELOOSE]})?${s[i.BUILD]}?)?)?`),c("XRANGE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",s[i.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${s[i.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${s[i.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${s[i.LONECARET]}${s[i.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${s[i.LONECARET]}${s[i.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${s[i.GTLT]}\\s*(${s[i.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]}|${s[i.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${s[i.XRANGEPLAIN]})\\s+-\\s+(${s[i.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${s[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[i.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})),st.register("bgOMw",((e,t)=>{e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16}})),st.register("jkMsx",((e,t)=>{const r=("object"==typeof process&&process,()=>{});e.exports=r})),st.register("7qUJS",(function(e,t){var r=st("jkMsx"),n=st("bgOMw"),o=n.MAX_LENGTH,s=n.MAX_SAFE_INTEGER,i=st("bikcG"),a=i.re,c=i.t,l=st("eUvvN"),u=st("12NXI").compareIdentifiers;class d{constructor(e,t){if(t=l(t),e instanceof d){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[c.LOOSE]:a[c.FULL]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>s||0>this.major)throw new TypeError("Invalid major version");if(this.minor>s||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>s||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=n[4]?n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&s>t)return t}return e})):[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof d)){if("string"==typeof e&&e===this.version)return 0;e=new d(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof d||(e=new d(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}while(++t)}compareBuild(e){e instanceof d||(e=new d(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=d})),st.register("eUvvN",((e,t)=>{const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}})),st.register("12NXI",((e,t)=>{const r=/^[0-9]+$/,n=(e,t)=>{const n=r.test(e),o=r.test(t);return n&&o&&(e=+e,t=+t),e===t?0:n&&!o?-1:o&&!n?1:t>e?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers(e,t){return n(t,e)}}})),st.register("gdrva",((e,t)=>{var r=st("bgOMw").MAX_LENGTH,n=st("bikcG"),o=n.re,s=n.t,i=st("7qUJS"),a=st("eUvvN");e.exports=(e,t)=>{if(t=a(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?o[s.LOOSE]:o[s.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}})),st.register("fVzwP",((e,t)=>{var r=st("gdrva");e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}})),st.register("hOYls",((e,t)=>{var r=st("gdrva");e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}})),st.register("dGcr6",((e,t)=>{var r=st("7qUJS");e.exports=(e,t,n,o)=>{"string"==typeof n&&(o=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,o).version}catch(e){return null}}})),st.register("bBssn",((e,t)=>{var r=st("gdrva"),n=st("jXghC");e.exports=(e,t)=>{if(n(e,t))return null;{const n=r(e),o=r(t),s=n.prerelease.length||o.prerelease.length,i=s?"pre":"",a=s?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==o[e])return i+e;return a}}})),st.register("jXghC",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0===r(e,t,n)})),st.register("howpO",((e,t)=>{var r=st("7qUJS");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))})),st.register("fB2B7",((e,t)=>{var r=st("7qUJS");e.exports=(e,t)=>new r(e,t).major})),st.register("bye2i",((e,t)=>{var r=st("7qUJS");e.exports=(e,t)=>new r(e,t).minor})),st.register("87ZGF",((e,t)=>{var r=st("7qUJS");e.exports=(e,t)=>new r(e,t).patch})),st.register("4agny",((e,t)=>{var r=st("gdrva");e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}})),st.register("zcbgY",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>r(t,e,n)})),st.register("iGBo4",((e,t)=>{var r=st("howpO");e.exports=(e,t)=>r(e,t,!0)})),st.register("80ezM",((e,t)=>{var r=st("7qUJS");e.exports=(e,t,n)=>{const o=new r(e,n),s=new r(t,n);return o.compare(s)||o.compareBuild(s)}})),st.register("4qmtg",((e,t)=>{var r=st("80ezM");e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))})),st.register("4pjXu",((e,t)=>{var r=st("80ezM");e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))})),st.register("6KPS4",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>r(e,t,n)>0})),st.register("lr5pz",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0>r(e,t,n)})),st.register("fqqGA",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0!==r(e,t,n)})),st.register("5cRW4",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>r(e,t,n)>=0})),st.register("fwsB7",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0>=r(e,t,n)})),st.register("823yM",((e,t)=>{var r=st("jXghC"),n=st("fqqGA"),o=st("6KPS4"),s=st("5cRW4"),i=st("lr5pz"),a=st("fwsB7");e.exports=(e,t,c,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e===c;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e!==c;case"":case"=":case"==":return r(e,c,l);case"!=":return n(e,c,l);case">":return o(e,c,l);case">=":return s(e,c,l);case"<":return i(e,c,l);case"<=":return a(e,c,l);default:throw new TypeError("Invalid operator: "+t)}}})),st.register("1YYsi",((e,t)=>{var r=st("7qUJS"),n=st("gdrva"),o=st("bikcG"),s=o.re,i=o.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let o=null;if((t=t||{}).rtl){let t;for(;(t=s[i.COERCERTL].exec(e))&&(!o||o.index+o[0].length!==e.length);)o&&t.index+t[0].length===o.index+o[0].length||(o=t),s[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;s[i.COERCERTL].lastIndex=-1}else o=e.match(s[i.COERCE]);return null===o?null:n(`${o[2]}.${o[3]||"0"}.${o[4]||"0"}`,t)}})),st.register("eR6XK",(function(e,t){const r=Symbol();class n{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===r?"":this.operator+this.semver.version,l("comp",this)}parse(e){const t=e.match(this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new u(t[2],this.options.loose):r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new d(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new d(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),s=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||s&&i||a||l}}e.exports=n;var o=st("eUvvN"),s=st("bikcG"),i=s.re,a=s.t,c=st("823yM"),l=st("jkMsx"),u=st("7qUJS"),d=st("hvUff")})),st.register("hvUff",(function(e,t){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=n.get(t);if(r)return r;const o=this.options.loose;e=e.replace(o?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE],T(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),i("comparator trim",e);let a=(e=(e=(e=e.replace(l[u.TILDETRIM],p)).replace(l[u.CARETTRIM],h)).split(/\s+/).join(" ")).split(" ").map((e=>v(e,this.options))).join(" ").split(/\s+/).map((e=>$(e,this.options)));o&&(a=a.filter((e=>(i("loose invalid filter",e,this.options),!!e.match(l[u.COMPARATORLOOSE]))))),i("range list",a);const c=new Map,m=a.map((e=>new s(e,this.options)));for(const e of m){if(f(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const g=[...c.values()];return n.set(t,g),g}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((r=>g(r,t)&&e.set.some((e=>g(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new a(e,this.options)}catch(e){return!1}for(let t=0;this.set.length>t;t++)if(C(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const n=new(st("6MLkQ"))({max:1e3});var o=st("eUvvN"),s=st("eR6XK"),i=st("jkMsx"),a=st("7qUJS"),c=st("bikcG"),l=c.re,u=c.t,d=c.comparatorTrimReplace,p=c.tildeTrimReplace,h=c.caretTrimReplace;const f=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,g=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every((e=>o.intersects(e,t))),o=n.pop();return r},v=(e,t)=>(i("comp",e,t),e=b(e,t),i("caret",e),e=w(e,t),i("tildes",e),e=S(e,t),i("xrange",e),e=O(e,t),i("stars",e),e),x=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>e.replace(t.loose?l[u.TILDELOOSE]:l[u.TILDE],((t,r,n,o,s)=>{let a;return i("tilde",e,t,r,n,o,s),x(r)?a="":x(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:x(o)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(i("replaceTilde pr",s),a=`>=${r}.${n}.${o}-${s} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,i("tilde return",a),a})),b=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{i("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?l[u.CARETLOOSE]:l[u.CARET],((t,n,o,s,a)=>{let c;return i("caret",e,t,n,o,s,a),x(n)?c="":x(o)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:x(s)?c="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(i("replaceCaret pr",a),c="0"===n?"0"===o?`>=${n}.${o}.${s}-${a} <${n}.${o}.${+s+1}-0`:`>=${n}.${o}.${s}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${s}-${a} <${+n+1}.0.0-0`):(i("no pr"),c="0"===n?"0"===o?`>=${n}.${o}.${s}${r} <${n}.${o}.${+s+1}-0`:`>=${n}.${o}.${s}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${s} <${+n+1}.0.0-0`),i("caret return",c),c}))},S=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map((e=>_(e,t))).join(" ")),_=(e,t)=>(e=e.trim()).replace(t.loose?l[u.XRANGELOOSE]:l[u.XRANGE],((r,n,o,s,a,c)=>{i("xRange",e,r,n,o,s,a,c);const l=x(o),u=l||x(s),d=u||x(a);return"="===n&&d&&(n=""),c=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(u&&(s=0),a=0,">"===n?(n=">=",u?(o=+o+1,s=0,a=0):(s=+s+1,a=0)):"<="===n&&(n="<",u?o=+o+1:s=+s+1),"<"===n&&(c="-0"),r=`${n+o}.${s}.${a}${c}`):u?r=`>=${o}.0.0${c} <${+o+1}.0.0-0`:d&&(r=`>=${o}.${s}.0${c} <${o}.${+s+1}.0-0`),i("xRange return",r),r})),O=(e,t)=>(i("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),$=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,r,n,o,s,i,a,c,l,u,d,p,h)=>`${r=x(n)?"":x(o)?`>=${n}.0.0${e?"-0":""}`:x(s)?`>=${n}.${o}.0${e?"-0":""}`:i?">="+r:`>=${r}${e?"-0":""}`} ${c=x(l)?"":x(u)?`<${+l+1}.0.0-0`:x(d)?`<${l}.${+u+1}.0-0`:p?`<=${l}.${u}.${d}-${p}`:e?`<${l}.${u}.${+d+1}-0`:"<="+c}`.trim(),C=(e,t,r)=>{for(let r=0;e.length>r;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;e.length>r;r++)if(i(e[r].semver),e[r].semver!==s.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}})),st.register("6MLkQ",(function(e,t){const r="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,n="undefined"!=typeof AbortController?AbortController:Object.assign(class{constructor(){this.signal=new n.AbortSignal}abort(){this.signal.aborted=!0}},{AbortSignal:class{constructor(){this.aborted=!1}}}),o=new Set,s=(e,t)=>{const r="LRU_CACHE_OPTION_"+e;c(r)&&l(r,e+" option","options."+t,f)},i=(e,t)=>{const r="LRU_CACHE_METHOD_"+e;if(c(r)){const{prototype:n}=f,{get:o}=Object.getOwnPropertyDescriptor(n,e);l(r,e+" method",`cache.${t}()`,o)}},a=(...e)=>{"object"==typeof process&&process&&"function"==typeof process.emitWarning?process.emitWarning(...e):console.error(...e)},c=e=>!o.has(e),l=(e,t,r,n)=>{o.add(e),a(`The ${t} is deprecated. Please use ${r} instead.`,"DeprecationWarning",e,n)},u=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),d=e=>u(e)?e>256?e>65536?e>4294967296?e>Number.MAX_SAFE_INTEGER?null:p:Uint32Array:Uint16Array:Uint8Array:null;class p extends Array{constructor(e){super(e),this.fill(0)}}class h{constructor(e){if(0===e)return[];const t=d(e);this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class f{constructor(e={}){const{max:t=0,ttl:r,ttlResolution:n=1,ttlAutopurge:i,updateAgeOnGet:l,updateAgeOnHas:p,allowStale:m,dispose:g,disposeAfter:v,noDisposeOnSet:x,noUpdateTTL:w,maxSize:y=0,sizeCalculation:b,fetchMethod:E}=e,{length:S,maxAge:_,stale:O}=e instanceof f?{}:e;if(0!==t&&!u(t))throw new TypeError("max option must be a nonnegative integer");const $=t?d(t):Array;if(!$)throw Error("invalid max value: "+t);if(this.max=t,this.maxSize=y,this.sizeCalculation=b||S,this.sizeCalculation){if(!this.maxSize)throw new TypeError("cannot set sizeCalculation without setting maxSize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=E||null,this.fetchMethod&&"function"!=typeof this.fetchMethod)throw new TypeError("fetchMethod must be a function if specified");if(this.keyMap=new Map,this.keyList=Array(t).fill(null),this.valList=Array(t).fill(null),this.next=new $(t),this.prev=new $(t),this.head=0,this.tail=0,this.free=new h(t),this.initialFill=1,this.size=0,"function"==typeof g&&(this.dispose=g),"function"==typeof v?(this.disposeAfter=v,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!x,this.noUpdateTTL=!!w,0!==this.maxSize){if(!u(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!m||!!O,this.updateAgeOnGet=!!l,this.updateAgeOnHas=!!p,this.ttlResolution=u(n)||0===n?n:1,this.ttlAutopurge=!!i,this.ttl=r||_||0,this.ttl){if(!u(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(0===this.max&&0===this.ttl&&0===this.maxSize)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const e="LRU_CACHE_UNBOUNDED";c(e)&&(o.add(e),a("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e,f))}O&&s("stale","allowStale"),_&&s("maxAge","ttl"),S&&s("length","sizeCalculation")}getRemainingTTL(e){return this.has(e,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new p(this.max),this.starts=new p(this.max),this.setItemTTL=(e,t)=>{if(this.starts[e]=0!==t?r.now():0,this.ttls[e]=t,0!==t&&this.ttlAutopurge){const r=setTimeout((()=>{this.isStale(e)&&this.delete(this.keyList[e])}),t+1);r.unref&&r.unref()}},this.updateItemAge=e=>{this.starts[e]=0!==this.ttls[e]?r.now():0};let e=0;const t=()=>{const t=r.now();if(this.ttlResolution>0){e=t;const r=setTimeout((()=>e=0),this.ttlResolution);r.unref&&r.unref()}return t};this.getRemainingTTL=r=>{const n=this.keyMap.get(r);return void 0===n?0:0===this.ttls[n]||0===this.starts[n]?1/0:this.starts[n]+this.ttls[n]-(e||t())},this.isStale=r=>0!==this.ttls[r]&&0!==this.starts[r]&&(e||t())-this.starts[r]>this.ttls[r]}updateItemAge(e){}setItemTTL(e,t){}isStale(e){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new p(this.max),this.removeItemSize=e=>this.calculatedSize-=this.sizes[e],this.requireSize=(e,t,r,n)=>{if(!u(r)){if(!n)throw new TypeError("invalid size value (must be positive integer)");if("function"!=typeof n)throw new TypeError("sizeCalculation must be a function");if(r=n(t,e),!u(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return r},this.addItemSize=(e,t,r,n)=>{this.sizes[e]=n;const o=this.maxSize-this.sizes[e];for(;this.calculatedSize>o;)this.evict(!0);this.calculatedSize+=this.sizes[e]},this.delete=e=>{if(0!==this.size){const t=this.keyMap.get(e);void 0!==t&&(this.calculatedSize-=this.sizes[t])}return f.prototype.delete.call(this,e)}}removeItemSize(e){}addItemSize(e,t,r,n){}requireSize(e,t,r,n){if(r||n)throw new TypeError("cannot set size without setting maxSize on cache")}*indexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.tail;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.head);)t=this.prev[t]}*rindexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.head;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.tail);)t=this.next[t]}isValidIndex(e){return this.keyMap.get(this.keyList[e])===e}*entries(){for(const e of this.indexes())yield[this.keyList[e],this.valList[e]]}*rentries(){for(const e of this.rindexes())yield[this.keyList[e],this.valList[e]]}*keys(){for(const e of this.indexes())yield this.keyList[e]}*rkeys(){for(const e of this.rindexes())yield this.keyList[e]}*values(){for(const e of this.indexes())yield this.valList[e]}*rvalues(){for(const e of this.rindexes())yield this.valList[e]}[Symbol.iterator](){return this.entries()}find(e,t={}){for(const r of this.indexes())if(e(this.valList[r],this.keyList[r],this))return this.get(this.keyList[r],t)}forEach(e,t=this){for(const r of this.indexes())e.call(t,this.valList[r],this.keyList[r],this)}rforEach(e,t=this){for(const r of this.rindexes())e.call(t,this.valList[r],this.keyList[r],this)}get prune(){return i("prune","purgeStale"),this.purgeStale}purgeStale(){let e=!1;for(const t of this.rindexes({allowStale:!0}))this.isStale(t)&&(this.delete(this.keyList[t]),e=!0);return e}dump(){const e=[];for(const t of this.indexes()){const r=this.keyList[t],n={value:this.valList[t]};this.ttls&&(n.ttl=this.ttls[t]),this.sizes&&(n.size=this.sizes[t]),e.unshift([r,n])}return e}load(e){this.clear();for(const[t,r]of e)this.set(t,r.value,r)}dispose(e,t,r){}set(e,t,{ttl:r=this.ttl,noDisposeOnSet:n=this.noDisposeOnSet,size:o=0,sizeCalculation:s=this.sizeCalculation,noUpdateTTL:i=this.noUpdateTTL}={}){o=this.requireSize(e,t,o,s);let a=0===this.size?void 0:this.keyMap.get(e);if(void 0===a)a=this.newIndex(),this.keyList[a]=e,this.valList[a]=t,this.keyMap.set(e,a),this.next[this.tail]=a,this.prev[a]=this.tail,this.tail=a,this.size++,this.addItemSize(a,t,e,o),i=!1;else{const r=this.valList[a];t!==r&&(this.isBackgroundFetch(r)?r.__abortController.abort():n||(this.dispose(r,e,"set"),this.disposeAfter&&this.disposed.push([r,e,"set"])),this.removeItemSize(a),this.valList[a]=t,this.addItemSize(a,t,e,o)),this.moveToTail(a)}if(0===r||0!==this.ttl||this.ttls||this.initializeTTLTracking(),i||this.setItemTTL(a,r),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return 0===this.size?this.tail:this.size===this.max&&0!==this.max?this.evict(!1):0!==this.free.length?this.free.pop():this.initialFill++}pop(){if(this.size){const e=this.valList[this.head];return this.evict(!0),e}}evict(e){const t=this.head,r=this.keyList[t],n=this.valList[t];return this.isBackgroundFetch(n)?n.__abortController.abort():(this.dispose(n,r,"evict"),this.disposeAfter&&this.disposed.push([n,r,"evict"])),this.removeItemSize(t),e&&(this.keyList[t]=null,this.valList[t]=null,this.free.push(t)),this.head=this.next[t],this.keyMap.delete(r),this.size--,t}has(e,{updateAgeOnHas:t=this.updateAgeOnHas}={}){const r=this.keyMap.get(e);return void 0!==r&&!this.isStale(r)&&(t&&this.updateItemAge(r),!0)}peek(e,{allowStale:t=this.allowStale}={}){const r=this.keyMap.get(e);if(void 0!==r&&(t||!this.isStale(r)))return this.valList[r]}backgroundFetch(e,t,r){const o=void 0===t?void 0:this.valList[t];if(this.isBackgroundFetch(o))return o;const s=new n,i={signal:s.signal,options:r},a=Promise.resolve(this.fetchMethod(e,o,i)).then((t=>(s.signal.aborted||this.set(e,t,i.options),t)));return a.__abortController=s,a.__staleWhileFetching=o,void 0===t?(this.set(e,a,i.options),t=this.keyMap.get(e)):this.valList[t]=a,a}isBackgroundFetch(e){return e&&"object"==typeof e&&"function"==typeof e.then&&{}.hasOwnProperty.call(e,"__staleWhileFetching")}async fetch(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,ttl:n=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:s=0,sizeCalculation:i=this.sizeCalculation,noUpdateTTL:a=this.noUpdateTTL}={}){if(!this.fetchMethod)return this.get(e,{allowStale:t,updateAgeOnGet:r});const c={allowStale:t,updateAgeOnGet:r,ttl:n,noDisposeOnSet:o,size:s,sizeCalculation:i,noUpdateTTL:a};let l=this.keyMap.get(e);if(void 0===l)return this.backgroundFetch(e,l,c);{const n=this.valList[l];if(this.isBackgroundFetch(n))return t&&void 0!==n.__staleWhileFetching?n.__staleWhileFetching:n;if(!this.isStale(l))return this.moveToTail(l),r&&this.updateItemAge(l),n;const o=this.backgroundFetch(e,l,c);return t&&void 0!==o.__staleWhileFetching?o.__staleWhileFetching:o}}get(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet}={}){const n=this.keyMap.get(e);if(void 0!==n){const o=this.valList[n],s=this.isBackgroundFetch(o);if(this.isStale(n))return s?t?o.__staleWhileFetching:void 0:(this.delete(e),t?o:void 0);if(s)return;return this.moveToTail(n),r&&this.updateItemAge(n),o}}connect(e,t){this.prev[t]=e,this.next[e]=t}moveToTail(e){e!==this.tail&&(e===this.head?this.head=this.next[e]:this.connect(this.prev[e],this.next[e]),this.connect(this.tail,e),this.tail=e)}get del(){return i("del","delete"),this.delete}delete(e){let t=!1;if(0!==this.size){const r=this.keyMap.get(e);if(void 0!==r)if(t=!0,1===this.size)this.clear();else{this.removeItemSize(r);const t=this.valList[r];this.isBackgroundFetch(t)?t.__abortController.abort():(this.dispose(t,e,"delete"),this.disposeAfter&&this.disposed.push([t,e,"delete"])),this.keyMap.delete(e),this.keyList[r]=null,this.valList[r]=null,r===this.tail?this.tail=this.prev[r]:r===this.head?this.head=this.next[r]:(this.next[this.prev[r]]=this.next[r],this.prev[this.next[r]]=this.prev[r]),this.size--,this.free.push(r)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return t}clear(){for(const e of this.rindexes({allowStale:!0})){const t=this.valList[e];if(this.isBackgroundFetch(t))t.__abortController.abort();else{const r=this.keyList[e];this.dispose(t,r,"delete"),this.disposeAfter&&this.disposed.push([t,r,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return i("reset","clear"),this.clear}get length(){return((e,t)=>{const r="LRU_CACHE_PROPERTY_length";if(c(r)){const{prototype:e}=f,{get:t}=Object.getOwnPropertyDescriptor(e,"length");l(r,"length property","cache.size",t)}})(),this.size}}e.exports=f})),st.register("c8FZS",((e,t)=>{var r=st("hvUff");e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}})),st.register("2J2hR",((e,t)=>{var r=st("hvUff");e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))})),st.register("lbfMG",((e,t)=>{var r=st("7qUJS"),n=st("hvUff");e.exports=(e,t,o)=>{let s=null,i=null,a=null;try{a=new n(t,o)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&-1!==i.compare(e)||(s=e,i=new r(s,o)))})),s}})),st.register("5wbuE",((e,t)=>{var r=st("7qUJS"),n=st("hvUff");e.exports=(e,t,o)=>{let s=null,i=null,a=null;try{a=new n(t,o)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&1!==i.compare(e)||(s=e,i=new r(s,o)))})),s}})),st.register("hZRNG",((e,t)=>{var r=st("7qUJS"),n=st("hvUff"),o=st("6KPS4");e.exports=(e,t)=>{e=new n(e,t);let s=new r("0.0.0");if(e.test(s))return s;if(s=new r("0.0.0-0"),e.test(s))return s;s=null;for(let t=0;e.set.length>t;++t){let n=null;e.set[t].forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!o(t,n)||(n=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!n||s&&!o(s,n)||(s=n)}return s&&e.test(s)?s:null}})),st.register("fqnzG",((e,t)=>{var r=st("hvUff");e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}})),st.register("77bPN",((e,t)=>{var r=st("7qUJS"),n=st("eR6XK");const{ANY:o}=n;var s=st("hvUff"),i=st("c8FZS"),a=st("6KPS4"),c=st("lr5pz"),l=st("fwsB7"),u=st("5cRW4");e.exports=(e,t,d,p)=>{let h,f,m,g,v;switch(e=new r(e,p),t=new s(t,p),d){case">":h=a,f=l,m=c,g=">",v=">=";break;case"<":h=c,f=u,m=a,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,p))return!1;for(let r=0;t.set.length>r;++r){let s=null,i=null;if(t.set[r].forEach((e=>{e.semver===o&&(e=new n(">=0.0.0")),s=s||e,i=i||e,h(e.semver,s.semver,p)?s=e:m(e.semver,i.semver,p)&&(i=e)})),s.operator===g||s.operator===v)return!1;if((!i.operator||i.operator===g)&&f(e,i.semver))return!1;if(i.operator===v&&m(e,i.semver))return!1}return!0}})),st.register("gD8Tz",((e,t)=>{var r=st("77bPN");e.exports=(e,t,n)=>r(e,t,">",n)})),st.register("bpPww",((e,t)=>{var r=st("77bPN");e.exports=(e,t,n)=>r(e,t,"<",n)})),st.register("cHIUn",((e,t)=>{var r=st("hvUff");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))})),st.register("k8aCs",((e,t)=>{var r=st("c8FZS"),n=st("howpO");e.exports=(e,t,o)=>{const s=[];let i=null,a=null;const c=e.sort(((e,t)=>n(e,t,o)));for(const e of c)r(e,t,o)?(a=e,i||(i=e)):(a&&s.push([i,a]),a=null,i=null);i&&s.push([i,null]);const l=[];for(const[e,t]of s)l.push(e===t?e:t||e!==c[0]?t?e===c[0]?"<="+t:`${e} - ${t}`:">="+e:"*");const u=l.join(" || ");return("string"==typeof t.raw?t.raw:t+"").length>u.length?u:t}})),st.register("388OD",((e,t)=>{var r=st("hvUff"),n=st("eR6XK");const{ANY:o}=n;var s=st("c8FZS"),i=st("howpO");const a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?[new n(">=0.0.0-0")]:[new n(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=[new n(">=0.0.0")]}const a=new Set;let u,d,p,h,f,m,g;for(const t of e)">"===t.operator||">="===t.operator?u=c(u,t,r):"<"===t.operator||"<="===t.operator?d=l(d,t,r):a.add(t.semver);if(a.size>1)return null;if(u&&d){if(p=i(u.semver,d.semver,r),p>0)return null;if(0===p&&(">="!==u.operator||"<="!==d.operator))return null}for(const e of a){if(u&&!s(e,u+"",r))return null;if(d&&!s(e,d+"",r))return null;for(const n of t)if(!s(e,n+"",r))return!1;return!0}let v=!(!d||r.includePrerelease||!d.semver.prerelease.length)&&d.semver,x=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver;v&&1===v.prerelease.length&&"<"===d.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,u)if(x&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===x.major&&e.semver.minor===x.minor&&e.semver.patch===x.patch&&(x=!1),">"===e.operator||">="===e.operator){if(h=c(u,e,r),h===e&&h!==u)return!1}else if(">="===u.operator&&!s(u.semver,e+"",r))return!1;if(d)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(f=l(d,e,r),f===e&&f!==d)return!1}else if("<="===d.operator&&!s(d.semver,e+"",r))return!1;if(!e.operator&&(d||u)&&0!==p)return!1}return!(u&&m&&!d&&0!==p||d&&g&&!u&&0!==p||x||v)},c=(e,t,r)=>{if(!e)return t;const n=i(e.semver,t.semver,r);return n>0?e:0>n||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const n=i(e.semver,t.semver,r);return 0>n?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=a(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}})),st.register("iFKS7",((e,t)=>{var r=st("joDHm"),n=st("inTPA");e.exports=(e,t,o)=>{var s=t&&o||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var a=0;16>a;++a)t[s+a]=i[a];return t||n(i)}})),st.register("joDHm",((e,t)=>{e.exports=()=>Ge.randomBytes(16)})),st.register("inTPA",((e,t)=>{for(var r=[],n=0;256>n;++n)r[n]=(n+256).toString(16).substr(1);e.exports=(e,t)=>{var n=t||0;return""+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}})),st.register("ca0ts",(function(e,t){"use strict";function r(e,t,r){return i(this,void 0,void 0,(function*(){const n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");const o=n[0];return t=n.slice(1).concat(t||[]),new a.ToolRunner(o,t,r).exec()}))}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t}),i=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;const a=s(st("e0fPv"));e.exports.exec=r,e.exports.getExecOutput=function(e,t,n){var o,s;return i(this,void 0,void 0,(function*(){let i="",a="";const c=new Ke.StringDecoder("utf8"),l=new Ke.StringDecoder("utf8"),u=null===(o=null==n?void 0:n.listeners)||void 0===o?void 0:o.stdout,d=null===(s=null==n?void 0:n.listeners)||void 0===s?void 0:s.stderr,p=Object.assign(Object.assign({},null==n?void 0:n.listeners),{stdout(e){i+=c.write(e),u&&u(e)},stderr(e){a+=l.write(e),d&&d(e)}}),h=yield r(e,t,Object.assign(Object.assign({},n),{listeners:p}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}}))}})),st.register("e0fPv",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;const i=o(Me),a=o(Ve),c=o(Ye),l=o(Fe),u=o(st("fvrnx")),d=o(st("2GOko")),p="win32"===process.platform;e.exports.ToolRunner=class extends a.EventEmitter{constructor(e,t,r){if(super(),!e)throw Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=t||[],this.options=r||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,t){const r=this._getSpawnFileName(),n=this._getSpawnArgs(e);let o=t?"":"[command]";if(p)if(this._isCmdFile()){o+=r;for(const e of n)o+=" "+e}else if(e.windowsVerbatimArguments){o+=`"${r}"`;for(const e of n)o+=" "+e}else{o+=this._windowsQuoteCmdArg(r);for(const e of n)o+=" "+this._windowsQuoteCmdArg(e)}else{o+=r;for(const e of n)o+=" "+e}return o}_processLineBuffer(e,t,r){try{let n=t+""+e,o=n.indexOf(i.EOL);for(;o>-1;)r(n.substring(0,o)),n=n.substring(o+i.EOL.length),o=n.indexOf(i.EOL);return n}catch(e){return this._debug("error processing line. Failed with error "+e),""}}_getSpawnFileName(){return p&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(p&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(const r of this.args)t+=" ",t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r);return t+='"',[t]}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=!1;for(const n of e)if(t.some((e=>e===n))){r=!0;break}if(!r)return e;let n='"',o=!0;for(let t=e.length;t>0;t--)n+=e[t-1],o&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(o=!0,n+='"'):o=!1;return n+='"',n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-1]?(r=!0,t+="\\"):r=!1;return t+='"',t.split("").reverse().join("")}_cloneExecOptions(e){const t={cwd:(e=e||{}).cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t}_getSpawnOptions(e,t){const r={};return r.cwd=(e=e||{}).cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r}exec(){return s(this,void 0,void 0,(function*(){return!d.isRooted(this.toolPath)&&(this.toolPath.includes("/")||p&&this.toolPath.includes("\\"))&&(this.toolPath=l.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise(((e,t)=>s(this,void 0,void 0,(function*(){this._debug("exec tool: "+this.toolPath),this._debug("arguments:");for(const e of this.args)this._debug(" "+e);const r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+i.EOL);const n=new h(r,this.toolPath);if(n.on("debug",(e=>{this._debug(e)})),this.options.cwd&&!(yield d.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));const o=this._getSpawnFileName(),s=c.spawn(o,this._getSpawnArgs(r),this._getSpawnOptions(this.options,o));let a="";s.stdout&&s.stdout.on("data",(e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),a=this._processLineBuffer(e,a,(e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e)}))}));let l="";if(s.stderr&&s.stderr.on("data",(e=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),l=this._processLineBuffer(e,l,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),s.on("error",(e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()})),s.on("exit",(e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete()})),s.on("close",(e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()})),n.on("done",((r,n)=>{a.length>0&&this.emit("stdline",a),l.length>0&&this.emit("errline",l),s.removeAllListeners(),r?t(r):e(n)})),this.options.input){if(!s.stdin)throw Error("child process missing stdin");s.stdin.end(this.options.input)}}))))}))}},e.exports.argStringToArray=e=>{function t(e){o&&'"'!==e&&(s+="\\"),s+=e,o=!1}const r=[];let n=!1,o=!1,s="";for(let i=0;e.length>i;i++){const a=e.charAt(i);'"'!==a?"\\"===a&&o?t(a):"\\"===a&&n?o=!0:" "!==a||n?t(a):s.length>0&&(r.push(s),s=""):o?t(a):n=!n}return s.length>0&&r.push(s.trim()),r};class h extends a.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw Error("toolPath must not be empty");this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=Je.setTimeout(h.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):0===this.processExitCode||this.options.ignoreReturnCode?this.processStderr&&this.options.failOnStdErr&&(e=Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)):e=Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){e.done||(!e.processClosed&&e.processExited&&e._debug(`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`),e._setResult())}}})),st.register("dgtoh",((e,t)=>{e.exports=Promise.resolve(require("./actions_python.08b116bb.js")).then((()=>st("apy8x")))})),st.register("cReTf",((e,t)=>{function r(e){Array.isArray(e)||(e=[e]);for(const t of e){const{id:e,data:r}=t;c[e]=r}}function n(e,t,r){const n=(e=>{const t=c[e.locale];let r=e.unitTypeLookupOrder.slice();r.unshift(e.unitType),r=Array.from(new Set(r));let n=null;if(r.some((e=>{if(void 0!==t[e])return n=t[e],!0})),null===n)throw Error("Can not find any unit type data for locale: "+e.locale);return n})(r);return o.pluralize(r.locale,t,n[e]).replace("{0}",t)}var o=st("5FRs7"),s=st("3Zbea");const i=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],a={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},c={};e.exports={create(e){return e=Object.assign({},a,e||{}),{format(t,o,a){return((e,t,o)=>{if(((e,t)=>{const{autoload:n}=t;if(!c[e]){if(!s||!n)throw Error(`Missing locale: ${e}, you must load it manually before using it`);(e=>{try{r(require(`../locales/${e}.js`))}catch(t){throw Error(`Failed to load locale: ${e} from ../locales/${e}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${t}`)}})(e)}})(o.locale,{autoload:o.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");const a=((e,t)=>{let r=t-e;const n=[];return i.some((e=>{const t=e[0],o=e[1],s=Math.floor(r/o);if(r-=s*o,n.push([t,s]),0>=r)return!0})),n})(e,t),l=[];for(const e of a){const[t,r]=e;if(r>0&&l.push(n(t,r,o)),l.length>=o.span)break}return l.join(o.delimiter)})(t,o,a=Object.assign({},e,a||{}))}}},addLocale:r,defaultConfig:a}})),st.register("5FRs7",((e,t)=>{e.exports=st("j5MHF")})),st.register("j5MHF",(function(e,t){var r=Fe.resolve(__dirname,"../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){"use strict";function t(e,t,r){if(n(e),"object"!=typeof r)throw Error("List of variants should be specified as an object");var s=o[e](t);return void 0!==r[s]?r[s]:null}function n(e){(e=>void 0!==o[e])(e)||(e=>{try{require(r+"/../locales/"+e+".js")}catch(t){throw Error("Failed to load the following locale: "+e)}})(e)}var o={},s={create(e){return n(e),{pluralize(r,n){return t(e,r,n)}}},addLocale(e,t){o[e]=t},pluralize:t};void 0!==e.exports?e.exports=s:this.numerous=s}).call(e.exports)})),st.register("3Zbea",((e,t)=>{"use strict";e.exports=!("undefined"==typeof process||!process.versions||!process.versions.node)})),e(module.exports,"main",(()=>Ne)),e(module.exports,"parseArgs",(()=>Le)),e(module.exports,"getCompilerInfo",(()=>je));var it=st("enS5B"),at=st("6XIgB"),ct={};const lt="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,ut=lt?";":":";var dt,pt={};dt="win32"===process.platform||rt.TESTING_WINDOWS?st("ftrAD"):st("9yF3I"),pt=r,r.sync=(e,t)=>{try{return dt.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const ht=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),ft=(e,t)=>{const r=t.colon||ut,n=e.match(/\//)||lt&&e.match(/\\/)?[""]:[...lt?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],o=lt?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=lt?o.split(r):[""];return lt&&-1!==e.indexOf(".")&&""!==s[0]&&s.unshift(""),{pathEnv:n,pathExt:s,pathExtExe:o}},mt=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:n,pathExt:o,pathExtExe:s}=ft(e,t),i=[],a=r=>new Promise(((o,s)=>{if(r===n.length)return t.all&&i.length?o(i):s(ht(e));const a=n[r],l=/^".*"$/.test(a)?a.slice(1,-1):a,u=Fe.join(l,e),d=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;o(c(d,r,0))})),c=(e,r,n)=>new Promise(((l,u)=>{if(n===o.length)return l(a(r+1));const d=o[n];pt(e+d,{pathExt:s},((o,s)=>{if(!o&&s){if(!t.all)return l(e+d);i.push(e+d)}return l(c(e,r,n+1))}))}));return r?a(0).then((e=>r(null,e)),r):a(0)};let gt;ct=mt,mt.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:n,pathExtExe:o}=ft(e,t),s=[];for(let i=0;r.length>i;i++){const a=r[i],c=/^".*"$/.test(a)?a.slice(1,-1):a,l=Fe.join(c,e),u=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;for(let e=0;n.length>e;e++){const r=u+n[e];try{if(pt.sync(r,{pathExt:o})){if(!t.all)return r;s.push(r)}}catch(e){}}}if(t.all&&s.length)return s;if(t.nothrow)return null;throw ht(e)};var vt,xt={},wt={},yt={},bt={};const Et=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};var St,_t;(bt=Et).default=Et,vt=e=>o(e)||o(e,!0);const Ot=/([()\][%!^"`<>&|;, *?])/g;St=e=>e.replace(Ot,"^$1"),_t=(e,t)=>(e=(e=`"${e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(Ot,"^$1"),t&&(e=e.replace(Ot,"^$1")),e);var $t,Tt,Ct;Tt=/^#!(.*)/,$t=(e="")=>{const t=e.match(Tt);if(!t)return null;const[r,n]=t[0].replace(/#! ?/,"").split(" "),o=r.split("/").pop();return"env"===o?n:n?`${o} ${n}`:o},Ct=e=>{const t=Buffer.alloc(150);let r;try{r=Be.openSync(e,"r"),Be.readSync(r,t,0,150,0),Be.closeSync(r)}catch(e){}return $t(""+t)};const Pt="win32"===process.platform,Rt=/\.(?:com|exe)$/i,It=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;yt=(e,t,r)=>{t&&!Array.isArray(t)&&(r=t,t=null);const n={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?n:(e=>{if(!Pt)return e;const t=(e=>{e.file=vt(e);const t=e.file&&Ct(e.file);return t?(e.args.unshift(e.file),e.command=t,vt(e)):e.file})(e),r=!Rt.test(t);if(e.options.forceShell||r){const r=It.test(t);e.command=Fe.normalize(e.command),e.command=St(e.command),e.args=e.args.map((e=>_t(e,r)));const n=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${n}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e})(n)};var At={};const kt="win32"===process.platform;var Nt;At={hookChildProcess(e,t){if(!kt)return;const r=e.emit;e.emit=function(n,o){if("exit"===n){const n=i(o,t);if(n)return r.call(e,"error",n)}return r.apply(e,arguments)}},verifyENOENT:i,verifyENOENTSync(e,t){return kt&&1===e&&!t.file?s(t.original,"spawnSync"):null},notFoundError:s},(wt=a).spawn=a,wt.sync=(e,t,r)=>{const n=yt(e,t,r),o=Ye.spawnSync(n.command,n.args,n.options);return o.error=o.error||At.verifyENOENTSync(o.status,n),o},wt._parse=yt,wt._enoent=At,Nt=e=>{const t="string"==typeof e?"\r":13;return e[e.length-1]===("string"==typeof e?"\n":10)&&(e=e.slice(0,e.length-1)),e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e};var Lt={};const jt=e=>{let t;e={cwd:process.cwd(),path:process.env[bt()],execPath:process.execPath,...e};let r=Fe.resolve(e.cwd);const n=[];for(;t!==r;)n.push(Fe.join(r,"node_modules/.bin")),t=r,r=Fe.resolve(r,"..");const o=Fe.resolve(e.cwd,e.execPath,"..");return n.push(o),n.concat(e.path).join(Fe.delimiter)};(Lt=jt).default=jt,Lt.env=e=>{const t={...(e={env:process.env,...e}).env},r=bt({env:t});return e.path=t[r],t[r]=Lt(e),t};var Dt={},Ut={};const Mt=(e,t)=>{for(const r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};(Ut=Mt).default=Mt;const Ft=new WeakMap,Bt=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let r,n=0;const o=e.displayName||e.name||"",s=function(...i){if(Ft.set(s,++n),1===n)r=e.apply(this,i),e=null;else if(!0===t.throw)throw Error(`Function \`${o}\` can only be called once`);return r};return Ut(s,e),Ft.set(s,n),s};(Dt=Bt).default=Bt,Dt.callCount=e=>{if(!Ft.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Ft.get(e)};var Gt,zt={};Object.defineProperty(zt,"__esModule",{value:!0}),zt.signalsByNumber=zt.signalsByName=void 0;var Ht={};Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.getSignals=void 0;var qt={};Object.defineProperty(qt,"__esModule",{value:!0}),qt.SIGNALS=void 0,qt.SIGNALS=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.SIGRTMAX=Vt.getRealtimeSignals=void 0,Vt.getRealtimeSignals=()=>Array.from({length:Yt-Wt+1},Xt);const Xt=(e,t)=>({name:"SIGRT"+(t+1),number:Wt+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),Wt=34,Yt=64;Vt.SIGRTMAX=Yt,Ht.getSignals=()=>{const e=(0,Vt.getRealtimeSignals)();return[...qt.SIGNALS,...e].map(Kt)};const Kt=({name:e,number:t,description:r,action:n,forced:o=!1,standard:s})=>{const{signals:{[e]:i}}=Me.constants,a=void 0!==i;return{name:e,number:a?i:t,description:r,supported:a,action:n,forced:o,standard:s}},Jt=(0,Ht.getSignals)().reduce(((e,{name:t,number:r,description:n,supported:o,action:s,forced:i,standard:a})=>({...e,[t]:{name:t,number:r,description:n,supported:o,action:s,forced:i,standard:a}})),{});zt.signalsByName=Jt;const Zt=(()=>{const e=(0,Ht.getSignals)(),t=Array.from({length:Vt.SIGRTMAX+1},((t,r)=>((e,t)=>{const r=((e,t)=>{const r=t.find((({name:t})=>Me.constants.signals[t]===e));return void 0!==r?r:t.find((t=>t.number===e))})(e,t);if(void 0===r)return{};const{name:n,description:o,supported:s,action:i,forced:a,standard:c}=r;return{[e]:{name:n,number:e,description:o,supported:s,action:i,forced:a,standard:c}}})(r,e)));return Object.assign({},...t)})();zt.signalsByNumber=Zt;var Qt=zt.signalsByName;Gt=({stdout:e,stderr:t,all:r,error:n,signal:o,exitCode:s,command:i,escapedCommand:a,timedOut:c,isCanceled:l,killed:u,parsed:{options:{timeout:d}}})=>{const p=void 0===(o=null===o?void 0:o)?void 0:Qt[o].description,h=(({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:o,exitCode:s,isCanceled:i})=>e?`timed out after ${t} milliseconds`:i?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${o})`:void 0!==s?"failed with exit code "+s:"failed")({timedOut:c,timeout:d,errorCode:n&&n.code,signal:o,signalDescription:p,exitCode:s=null===s?void 0:s,isCanceled:l}),f=`Command ${h}: ${i}`,m="[object Error]"==={}.toString.call(n),g=m?`${f}\n${n.message}`:f,v=[g,t,e].filter(Boolean).join("\n");return m?(n.originalMessage=n.message,n.message=v):n=Error(v),n.shortMessage=g,n.command=i,n.escapedCommand=a,n.exitCode=s,n.signal=o,n.signalDescription=p,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!c,n.isCanceled=l,n.killed=u&&!c,n};var er={};const tr=["stdin","stdout","stderr"],rr=e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return tr.map((t=>e[t]));if((e=>tr.some((t=>void 0!==e[t])))(e))throw Error("It's not possible to provide `stdio` in combination with one of "+tr.map((e=>`\`${e}\``)).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,tr.length)},((e,r)=>t[r]))};(er=rr).node=e=>{const t=rr(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]};var nr,or={},sr=rt.process;const ir=e=>e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on;if(ir(sr)){var ar,cr=Xe,lr=st("bJALw"),ur=/^win/i.test(sr.platform),dr=Ve;"function"!=typeof dr&&(dr=dr.EventEmitter),sr.__signal_exit_emitter__?ar=sr.__signal_exit_emitter__:((ar=sr.__signal_exit_emitter__=new dr).count=0,ar.emitted={}),ar.infinite||(ar.setMaxListeners(1/0),ar.infinite=!0),or=(e,t)=>{if(!ir(rt.process))return()=>{};cr.equal(typeof e,"function","a callback must be provided for exit handler"),!1===mr&&gr();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),ar.on(r,e),()=>{ar.removeListener(r,e),0===ar.listeners("exit").length&&0===ar.listeners("afterexit").length&&pr()}};var pr=()=>{mr&&ir(rt.process)&&(mr=!1,lr.forEach((e=>{try{sr.removeListener(e,fr[e])}catch(e){}})),sr.emit=wr,sr.reallyExit=vr,ar.count-=1)};or.unload=pr;var hr=(e,t,r)=>{ar.emitted[e]||(ar.emitted[e]=!0,ar.emit(e,t,r))},fr={};lr.forEach((e=>{fr[e]=()=>{ir(rt.process)&&sr.listeners(e).length===ar.count&&(pr(),hr("exit",null,e),hr("afterexit",null,e),ur&&"SIGHUP"===e&&(e="SIGINT"),sr.kill(sr.pid,e))}})),or.signals=()=>lr;var mr=!1,gr=()=>{!mr&&ir(rt.process)&&(mr=!0,ar.count+=1,lr=lr.filter((e=>{try{return sr.on(e,fr[e]),!0}catch(e){return!1}})),sr.emit=yr,sr.reallyExit=xr)};or.load=gr;var vr=sr.reallyExit,xr=e=>{ir(rt.process)&&(sr.exitCode=e||0,hr("exit",sr.exitCode,null),hr("afterexit",sr.exitCode,null),vr.call(sr,sr.exitCode))},wr=sr.emit,yr=function(e,t){if("exit"===e&&ir(rt.process)){void 0!==t&&(sr.exitCode=t);var r=wr.apply(this,arguments);return hr("exit",sr.exitCode,null),hr("afterexit",sr.exitCode,null),r}return wr.apply(this,arguments)}}else or=()=>()=>{};const br=e=>e===Me.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase();var Er,Sr=(nr={spawnedKill(e,t="SIGTERM",r={}){const n=e(t);return((e,t,r,n)=>{if(!((e,{forceKillAfterTimeout:t},r)=>br(e)&&!1!==t&&r)(t,r,n))return;const o=(({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||0>e)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e})(r),s=setTimeout((()=>{e("SIGKILL")}),o);s.unref&&s.unref()})(e,t,r,n),n},spawnedCancel(e,t){e.kill()&&(t.isCanceled=!0)},setupTimeout(e,{timeout:t,killSignal:r="SIGTERM"},n){if(0===t||void 0===t)return n;let o;const s=new Promise(((n,s)=>{o=setTimeout((()=>{((e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}))})(e,r,s)}),t)})),i=n.finally((()=>{clearTimeout(o)}));return Promise.race([s,i])},validateTimeout({timeout:e}){if(void 0!==e&&(!Number.isFinite(e)||0>e))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},async setExitHandler(e,{cleanup:t,detached:r},n){if(!t||r)return n;const o=or((()=>{e.kill()}));return n.finally((()=>{o()}))}}).spawnedKill,_r=nr.spawnedCancel,Or=nr.setupTimeout,$r=nr.validateTimeout,Tr=nr.setExitHandler,Cr={};const Pr=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;Pr.writable=e=>Pr(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,Pr.readable=e=>Pr(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,Pr.duplex=e=>Pr.writable(e)&&Pr.readable(e),Pr.transform=e=>Pr.duplex(e)&&"function"==typeof e._transform,Cr=Pr;var Rr,Ir={},Ar=Ze.constants,kr=Qe.PassThrough;Rr=e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const n="buffer"===r;let o=!1;t?o=!(r||n):r=r||"utf8",n&&(r=null);const s=new kr({objectMode:o});r&&s.setEncoding(r);let i=0;const a=[];return s.on("data",(e=>{a.push(e),o?i=a.length:i+=e.length})),s.getBufferedValue=()=>t?a:n?Buffer.concat(a,i):a.join(""),s.getBufferedLength=()=>i,s};const Nr=(0,We.promisify)(Qe.pipeline);class Lr extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}(Ir=c).buffer=(e,t)=>c(e,{...t,encoding:"buffer"}),Ir.array=(e,t)=>c(e,{...t,array:!0}),Ir.MaxBufferError=Lr;var jr,Dr=Qe.PassThrough;jr=function(){function e(t){return Array.isArray(t)?(t.forEach(e),this):(n.push(t),t.once("end",r.bind(null,t)),t.once("error",o.emit.bind(o,"error")),t.pipe(o,{end:!1}),this)}function t(){return 0==n.length}function r(e){!(n=n.filter((t=>t!==e))).length&&o.readable&&o.end()}var n=[],o=new Dr({objectMode:!0});return o.setMaxListeners(0),o.add=e,o.isEmpty=t,o.on("unpipe",r),[].slice.call(arguments).forEach(e),o};const Ur=async(e,t)=>{if(e){e.destroy();try{return await t}catch(e){return e.bufferedData}}},Mr=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?Ir(e,{encoding:t,maxBuffer:n}):Ir.buffer(e,{maxBuffer:n})};var Fr,Br=(Er={handleInput(e,t){void 0!==t&&void 0!==e.stdin&&(Cr(t)?t.pipe(e.stdin):e.stdin.end(t))},makeAllStream(e,{all:t}){if(!t||!e.stdout&&!e.stderr)return;const r=jr();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r},async getSpawnedResult({stdout:e,stderr:t,all:r},{encoding:n,buffer:o,maxBuffer:s},i){const a=Mr(e,{encoding:n,buffer:o,maxBuffer:s}),c=Mr(t,{encoding:n,buffer:o,maxBuffer:s}),l=Mr(r,{encoding:n,buffer:o,maxBuffer:2*s});try{return await Promise.all([i,a,c,l])}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},Ur(e,a),Ur(t,c),Ur(r,l)])}},validateInputSync({input:e}){if(Cr(e))throw new TypeError("The `input` option cannot be a stream in sync mode")}}).handleInput,Gr=Er.getSpawnedResult,zr=Er.makeAllStream,Hr=Er.validateInputSync;const qr=(async()=>{})().constructor.prototype,Vr=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(qr,e)]));var Xr,Wr=(Fr={mergePromise(e,t){for(const[r,n]of Vr){const o="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:o})}return e},getSpawnedPromise(e){return new Promise(((t,r)=>{e.on("exit",((e,r)=>{t({exitCode:e,signal:r})})),e.on("error",(e=>{r(e)})),e.stdin&&e.stdin.on("error",(e=>{r(e)}))}))}}).mergePromise,Yr=Fr.getSpawnedPromise;const Kr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],Jr=/^[\w.-]+$/,Zr=/"/g,Qr=/ +/g;var en=(Xr={joinCommand(e,t){return Kr(e,t).join(" ")},getEscapedCommand(e,t){return Kr(e,t).map((e=>(e=>"string"!=typeof e||Jr.test(e)?e:`"${e.replace(Zr,'\\"')}"`)(e))).join(" ")},parseCommand(e){const t=[];for(const r of e.trim().split(Qr)){const e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r)}return t}}).joinCommand,tn=Xr.parseCommand,rn=Xr.getEscapedCommand;const nn=(e,t,r={})=>{const n=wt._parse(e,t,r);return e=n.command,t=n.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=n.options).cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...r}).env=(({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:o})=>{const s=t?{...process.env,...e}:e;return r?Lt.env({env:s,cwd:n,execPath:o}):s})(r),r.stdio=er(r),"win32"===process.platform&&"cmd"===Fe.basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n}},on=(e,t,r)=>"string"==typeof t||Buffer.isBuffer(t)?e.stripFinalNewline?Nt(t):t:void 0===r?void 0:"",sn=(e,t,r)=>{const n=nn(e,t,r),o=en(e,t),s=rn(e,t);let i;$r(n.options);try{i=Ye.spawn(n.file,n.args,n.options)}catch(e){const t=new Ye.ChildProcess,r=Promise.reject(Gt({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}));return Wr(t,r)}const a=Yr(i),c=Or(i,n.options,a),l=Tr(i,n.options,c),u={isCanceled:!1};i.kill=Sr.bind(null,i.kill.bind(i)),i.cancel=_r.bind(null,i,u);const d=Dt((async()=>{const[{error:e,exitCode:t,signal:r,timedOut:a},c,d,p]=await Gr(i,n.options,l),h=on(n.options,c),f=on(n.options,d),m=on(n.options,p);if(e||0!==t||null!==r){const c=Gt({error:e,exitCode:t,signal:r,stdout:h,stderr:f,all:m,command:o,escapedCommand:s,parsed:n,timedOut:a,isCanceled:u.isCanceled,killed:i.killed});if(!n.options.reject)return c;throw c}return{command:o,escapedCommand:s,exitCode:0,stdout:h,stderr:f,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return Br(i,n.options.input),i.all=zr(i,n.options),Wr(i,d)};(xt=sn).sync=(e,t,r)=>{const n=nn(e,t,r),o=en(e,t),s=rn(e,t);let i;Hr(n.options);try{i=Ye.spawnSync(n.file,n.args,n.options)}catch(e){throw Gt({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}const a=on(n.options,i.stdout,i.error),c=on(n.options,i.stderr,i.error);if(i.error||0!==i.status||null!==i.signal){const e=Gt({stdout:a,stderr:c,error:i.error,signal:i.signal,exitCode:i.status,command:o,escapedCommand:s,parsed:n,timedOut:i.error&&"ETIMEDOUT"===i.error.code,isCanceled:!1,killed:null!==i.signal});if(!n.options.reject)return e;throw e}return{command:o,escapedCommand:s,exitCode:0,stdout:a,stderr:c,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},xt.command=(e,t)=>{const[r,...n]=tn(e);return sn(r,n,t)},xt.commandSync=(e,t)=>{const[r,...n]=tn(e);return sn.sync(r,n,t)},xt.node=(e,t,r={})=>{t&&!Array.isArray(t)&&"object"==typeof t&&(r=t,t=[]);const n=er.node(r),o=process.execArgv.filter((e=>!e.startsWith("--inspect"))),{nodePath:s=process.execPath,nodeOptions:i=o}=r;return sn(s,[...i,e,...Array.isArray(t)?t:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:n,shell:!1})},it=st("enS5B");var an,cn=st("gmbrv");it=st("enS5B"),cn=st("gmbrv");const ln=Me.homedir();an=e=>{if("string"!=typeof e)throw new TypeError("Expected a string, got "+typeof e);return ln?e.replace(/^~(?=$|\/|\\)/,ln):e};var un=st("pcnv8");let dn;var pn;const hn="win32"!==Me.platform(),fn=Me.release(),mn=/(\d+\.\d+)\.(\d+)/;pn=e=>hn?e.replace(/(\s+)/g,"\\$1"):((e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184)(...mn.exec(fn).splice(1))?e:e.replace(/(\s+)/g,"%20");const gn=d(".cpprc");let vn=!1,xn=!1,wn=!1;un=st("pcnv8");let yn=!1,bn=!1;it=st("enS5B");let En,Sn=!1;at=st("6XIgB"),it=st("enS5B"),un=st("pcnv8");let _n,On,$n,Tn=!1;un=st("pcnv8"),at=st("6XIgB");var Cn=st("fvrnx"),Pn=(un=st("pcnv8"),{}),Rn=Fe.resolve(__dirname,"../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib"),In=Pn&&Pn.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),An=Pn&&Pn.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),kn=Pn&&Pn.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&In(t,e,r);return An(t,e),t}),Nn=Pn&&Pn.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))),Ln=Pn&&Pn.__importDefault||(e=>e&&e.__esModule?e:{default:e});Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.evaluateVersions=Pn.isExplicitVersion=Pn.findFromManifest=Pn.getManifestFromRepo=Pn.findAllVersions=Pn.find=Pn.cacheFile=Pn.cacheDir=Pn.extractZip=Pn.extractXar=Pn.extractTar=Pn.extract7z=Pn.downloadTool=Pn.HTTPError=void 0;const jn=kn(st("enS5B")),Dn=kn(st("fvrnx")),Un=kn(Be),Mn=kn(st("6kHxT")),Fn=kn(Me),Bn=kn(Fe),Gn=kn(st("4z9RF")),zn=kn(st("4URNm")),Hn=kn(Qe),qn=kn(We),Vn=Ln(st("iFKS7"));var Xn=st("ca0ts"),Wn={},Yn=Wn&&Wn.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),Kn=Wn&&Wn.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Jn=Wn&&Wn.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&Yn(t,e,r);return Kn(t,e),t}),Zn=Wn&&Wn.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.RetryHelper=void 0;const Qn=Jn(st("enS5B"));Wn.RetryHelper=class{constructor(e,t,r){if(1>e)throw Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(t),this.maxSeconds=Math.floor(r),this.minSeconds>this.maxSeconds)throw Error("min seconds should be less than or equal to max seconds")}execute(e,t){return Zn(this,void 0,void 0,(function*(){let r=1;for(;this.maxAttempts>r;){try{return yield e()}catch(e){if(t&&!t(e))throw e;Qn.info(e.message)}const n=this.getSleepAmount();Qn.info(`Waiting ${n} seconds before trying again`),yield this.sleep(n),r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return Zn(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}};class eo extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}Pn.HTTPError=eo;const to="win32"===process.platform,ro="darwin"===process.platform;let no;Pn.downloadTool=function(e,t,r,n){return Nn(this,void 0,void 0,(function*(){t=t||Bn.join(B(),Vn.default()),yield Dn.mkdirP(Bn.dirname(t)),jn.debug("Downloading "+e),jn.debug("Destination "+t);const o=G("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),s=G("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),i=new Wn.RetryHelper(3,o,s);return yield i.execute((()=>Nn(this,void 0,void 0,(function*(){return yield function(e,t,r,n){return Nn(this,void 0,void 0,(function*(){if(Un.existsSync(t))throw Error(`Destination file path ${t} already exists`);const o=new Gn.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(jn.debug("set auth"),void 0===n&&(n={}),n.authorization=r);const s=yield o.get(e,n);if(200!==s.message.statusCode){const t=new eo(s.message.statusCode);throw jn.debug(`Failed to download from "${e}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),t}const i=qn.promisify(Hn.pipeline),a=G("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>s.message))();let c=!1;try{return yield i(a,Un.createWriteStream(t)),jn.debug("download complete"),c=!0,t}finally{if(!c){jn.debug("download failed");try{yield Dn.rmRF(t)}catch(e){jn.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,n)}))),(e=>!(e instanceof eo&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},Pn.extract7z=function(e,t,r){return Nn(this,void 0,void 0,(function*(){Xe.ok(to,"extract7z() not supported on current OS"),Xe.ok(e,'parameter "file" is required'),t=yield L(t);const n=process.cwd();if(process.chdir(t),r)try{const t=["x",jn.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],o={silent:!0};yield Xn.exec(`"${r}"`,t,o)}finally{process.chdir(n)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${Bn.join(Rn,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Source '${e.replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Target '${t.replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`],o={silent:!0};try{const e=yield Dn.which("powershell",!0);yield Xn.exec(`"${e}"`,r,o)}finally{process.chdir(n)}}return t}))},Pn.extractTar=function(e,t,r="xz"){return Nn(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield L(t),jn.debug("Checking tar --version");let n="";yield Xn.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout(e){return n+=""+e},stderr(e){return n+=""+e}}}),jn.debug(n.trim());const o=n.toUpperCase().includes("GNU TAR");let s;s=r instanceof Array?r:[r],jn.isDebug()&&!r.includes("v")&&s.push("-v");let i=t,a=e;return to&&o&&(s.push("--force-local"),i=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(s.push("--warning=no-unknown-keyword"),s.push("--overwrite")),s.push("-C",i,"-f",a),yield Xn.exec("tar",s),t}))},Pn.extractXar=function(e,t,r=[]){return Nn(this,void 0,void 0,(function*(){let n;Xe.ok(ro,"extractXar() not supported on current OS"),Xe.ok(e,'parameter "file" is required'),t=yield L(t),n=r instanceof Array?r:[r],n.push("-x","-C",t,"-f",e),jn.isDebug()&&n.push("-v");const o=yield Dn.which("xar",!0);var s;return yield Xn.exec(`"${o}"`,(s=n,Array.from(new Set(s)))),t}))},Pn.extractZip=function(e,t){return Nn(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield L(t),to?yield function(e,t){return Nn(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=yield Dn.which("pwsh",!1);if(o){const e=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ")];jn.debug("Using pwsh at path: "+o),yield Xn.exec(`"${o}"`,e)}else{const e=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],t=yield Dn.which("powershell",!0);jn.debug("Using powershell at path: "+t),yield Xn.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return Nn(this,void 0,void 0,(function*(){const r=yield Dn.which("unzip",!0),n=[e];jn.isDebug()||n.unshift("-q"),n.unshift("-o"),yield Xn.exec(`"${r}"`,n,{cwd:t})}))}(e,t),t}))},Pn.cacheDir=function(e,t,r,n){return Nn(this,void 0,void 0,(function*(){if(r=zn.clean(r)||r,n=n||Fn.arch(),jn.debug(`Caching tool ${t} ${r} ${n}`),jn.debug("source dir: "+e),!Un.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const o=yield j(t,r,n);for(const t of Un.readdirSync(e)){const r=Bn.join(e,t);yield Dn.cp(r,o,{recursive:!0})}return D(t,r,n),o}))},Pn.cacheFile=function(e,t,r,n,o){return Nn(this,void 0,void 0,(function*(){if(n=zn.clean(n)||n,o=o||Fn.arch(),jn.debug(`Caching tool ${r} ${n} ${o}`),jn.debug("source file: "+e),!Un.statSync(e).isFile())throw Error("sourceFile is not a file");const s=yield j(r,n,o),i=Bn.join(s,t);return jn.debug("destination file "+i),yield Dn.cp(e,i),D(r,n,o),s}))},Pn.find=(e,t,r)=>{if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||Fn.arch(),U(t)||(t=M(N(e,r),t));let n="";if(t){t=zn.clean(t)||"";const o=Bn.join(F(),e,t,r);jn.debug("checking cache: "+o),Un.existsSync(o)&&Un.existsSync(o+".complete")?(jn.debug(`Found tool in cache ${e} ${t} ${r}`),n=o):jn.debug("not found")}return n},Pn.findAllVersions=N,Pn.getManifestFromRepo=function(e,t,r,n="master"){return Nn(this,void 0,void 0,(function*(){let o=[];const s=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,i=new Gn.HttpClient("tool-cache"),a={};r&&(jn.debug("set auth"),a.authorization=r);const c=yield i.getJson(s,a);if(!c.result)return o;let l="";for(const e of c.result.tree)if("versions-manifest.json"===e.path){l=e.url;break}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield i.get(l,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{o=JSON.parse(u)}catch(e){jn.debug("Invalid json")}}return o}))},Pn.findFromManifest=function(e,t,r,n=Fn.arch()){return Nn(this,void 0,void 0,(function*(){return yield Mn._findMatch(e,t,r,n)}))},Pn.isExplicitVersion=U,Pn.evaluateVersions=M,it=st("enS5B"),at=st("6XIgB"),cn=st("gmbrv");let oo=!1;var so=st("fwsB7"),io=st("1YYsi"),ao=(at=st("6XIgB"),Xn=st("ca0ts"),it=st("enS5B"),cn=st("gmbrv"),un=st("pcnv8"),at=st("6XIgB"),async e=>{const t=(e=>{if("string"!=typeof e)return!1;const t=e.trim();if(t.includes(" "))return!1;try{return new(0,et.URL)(t),!0}catch{return!1}})(e);if(!t)return!1;let r=await Q(e,"HEAD");return!!r||(r=await Q(e,"GET"),!!r)}),co=st("howpO"),lo=(io=st("1YYsi"),st("fVzwP"));Xn=st("ca0ts"),un=st("pcnv8");const uo=/v?(\d\S*)/;at=st("6XIgB");const po={llvm:"13.0.0",clangtidy:"13.0.0",clangformat:"13.0.0",ninja:"1.11.0",cmake:"3.23.2",gcovr:"5.1",conan:"1.50.0",meson:"0.63.0",kcov:"40",task:"3.14.0",doxygen:C()?"1.9.3-1":"1.9.4",gcc:"11"},ho={llvm:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},gcovr:{20:"5.1",18:"5.0"},meson:{20:"0.63.0",18:"0.61.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"40",20:"40-binary",18:"40",16:"40",14:"40"}};let fo,mo,go=!1;at=st("6XIgB"),un=st("pcnv8"),at=st("6XIgB"),so=st("fwsB7");var vo=st("fB2B7"),xo=(Xn=st("ca0ts"),un=st("pcnv8"),it=st("enS5B"),un=st("pcnv8"),cn=st("gmbrv"),vo=st("fB2B7"),io=st("1YYsi"),at=st("6XIgB"),un=st("pcnv8"),cn=st("gmbrv"),Fe.resolve(__dirname,"../src/gcc"));const wo={12:{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.6-10.0.0-msvcrt-r3",fileSuffix:"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};var yo=Fe.resolve(__dirname,"../src/llvm");const bo=(e=>{const t=new Set(e);for(const r of e)t.add(/^\d+/.exec(r)[0]),t.add(/^\d+\.\d+/.exec(r)[0]);return t})(["3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.6.2","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","5.0.0","5.0.1","5.0.2","6.0.0","6.0.1","7.0.0","7.0.1","7.1.0","8.0.0","8.0.1","9.0.0","9.0.1","10.0.0","10.0.1","11.0.0","11.0.1","11.1.0","12.0.0","12.0.1","13.0.0","13.0.1","14.0.0","14.0.1","14.0.2","14.0.3","14.0.4","14.0.5","14.0.6"]),Eo=new Set(["3.5.1","3.6.1","3.6.2","3.7.1","3.8.1","3.9.1","6.0.1","7.0.1","7.1.0","8.0.1","11.0.1","11.1.0","12.0.1"]),So=new Map,_o={"3.5.0":"-ubuntu-14.04","3.5.1":"","3.5.2":"-ubuntu-14.04","3.6.0":"-ubuntu-14.04","3.6.1":"-ubuntu-14.04","3.6.2":"-ubuntu-14.04","3.7.0":"-ubuntu-14.04","3.7.1":"-ubuntu-14.04","3.8.0":"-ubuntu-16.04","3.8.1":"-ubuntu-16.04","3.9.0":"-ubuntu-16.04","3.9.1":"-ubuntu-16.04","4.0.0":"-ubuntu-16.04","5.0.0":"-ubuntu16.04","5.0.1":"-ubuntu-16.04","5.0.2":"-ubuntu-16.04","6.0.0":"-ubuntu-16.04","6.0.1":"-ubuntu-16.04","7.0.0":"-ubuntu-16.04","7.0.1":"-ubuntu-18.04","7.1.0":"-ubuntu-14.04","8.0.0":"-ubuntu-18.04","9.0.0":"-ubuntu-18.04","9.0.1":"-ubuntu-16.04","10.0.0":"-ubuntu-18.04","10.0.1":"-ubuntu-16.04","11.0.0":"-ubuntu-20.04","11.0.1":"-ubuntu-16.04","11.1.0":"-ubuntu-16.04","12.0.0":"-ubuntu-20.04","12.0.1":"-ubuntu-16.04","13.0.0":"-ubuntu-20.04","13.0.0-ubuntu-16.04":"-ubuntu-16.04","13.0.0-ubuntu-20.04":"-ubuntu-20.04","13.0.1":"-ubuntu-18.04","13.0.1-ubuntu-18.04":"-ubuntu-18.04","14.0.0":"-ubuntu-18.04"},Oo=new Set(["10.0.1"]);let $o=!1;var To,Co,Po,Ro={},Io=Ro&&Ro.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,s)=>{function i(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))),Ao=Ro&&Ro.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(Ro,"__esModule",{value:!0});var ko={},No=ko&&ko.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(ko,"__esModule",{value:!0});const Lo=No(Me);var jo={};Object.defineProperty(jo,"__esModule",{value:!0}),jo.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),ko.issueCommand=ve,ko.issue=(e,t="")=>{ve(e,{},t)};class Do{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,jo.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>jo.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}var Uo={},Mo=Uo&&Uo.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(Uo,"__esModule",{value:!0});const Fo=Mo(Be),Bo=Mo(Me);Uo.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!Fo.existsSync(r))throw Error("Missing file at path: "+r);Fo.appendFileSync(r,`${jo.toCommandValue(t)}${Bo.EOL}`,{encoding:"utf8"})};const Go=Ao(Me),zo=Ao(Fe);var Ho,qo;(qo=Ho=Ro.ExitCode||(Ro.ExitCode={}))[qo.Success=0]="Success",qo[qo.Failure=1]="Failure",Ro.exportVariable=(e,t)=>{const r=jo.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";Uo.issueCommand("ENV",`${e}<<${t}${Go.EOL}${r}${Go.EOL}${t}`)}else ko.issueCommand("set-env",{name:e},r)},Ro.setSecret=e=>{ko.issueCommand("add-mask",{},e)},Ro.addPath=e=>{process.env.GITHUB_PATH?Uo.issueCommand("PATH",e):ko.issueCommand("add-path",{},e),process.env.PATH=`${e}${zo.delimiter}${process.env.PATH}`},Ro.getInput=(e,t)=>{const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return r.trim()},Ro.setOutput=(e,t)=>{ko.issueCommand("set-output",{name:e},t)},Ro.setCommandEcho=e=>{ko.issue("echo",e?"on":"off")},Ro.setFailed=e=>{process.exitCode=Ho.Failure,xe(e)},Ro.isDebug=()=>"1"===process.env.RUNNER_DEBUG,Ro.debug=e=>{ko.issueCommand("debug",{},e)},Ro.error=xe,Ro.warning=e=>{ko.issue("warning",e instanceof Error?""+e:e)},Ro.info=e=>{process.stdout.write(e+Go.EOL)},Ro.startGroup=we,Ro.endGroup=ye,Ro.group=function(e,t){return Io(this,void 0,void 0,(function*(){let r;we(e);try{r=yield t()}finally{ye()}return r}))},Ro.saveState=(e,t)=>{ko.issueCommand("save-state",{name:e},t)},Ro.getState=e=>process.env["STATE_"+e]||"";const Vo=tt.env["ProgramFiles(x86)"],Xo=[tt.env["ProgramFiles(x86)"],tt.env.ProgramFiles],Wo=["Enterprise","Professional","Community"],Yo=["2022","2019","2017"],Ko={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};To=be;const Jo=Vo+"\\Microsoft Visual Studio\\Installer";Co=Se,Po=(e,t,r,n,o,s)=>{if("win32"!=tt.platform)return void Ro.info("This is not a Windows virtual environment, bye!");tt.env.PATH+=Fe.delimiter+Jo;let i={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in i&&(e=i[e.toLowerCase()]);var a=[e];"true"==n&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==o&&a.push("-vcvars_spectre_libs=spectre");const c=`"${Se(s)}" ${a.join(" ")}`;Ro.debug("vcvars command-line: "+c);const l=(""+Ye.execSync(`set && cls && ${c} && cls && set`,{shell:"cmd"})).split("\f"),u=l[0].split("\r\n"),d=l[1].split("\r\n"),p=l[2].split("\r\n"),h=d.filter((e=>!(!e.match(/^\[ERROR.*\]/)||e.match(/Error in script usage. The correct usage is:$/))));if(h.length>0)throw Error("invalid parameters\r\n"+h.join("\r\n"));let f={};for(let e of u){const[t,r]=e.split("=");f[t]=r}Ro.startGroup("Environment variables");for(let e of p){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==f[t]&&(Ro.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(((e,t,r)=>r.indexOf(e)===t)).join(";")),Ro.exportVariable(t,r))}Ro.endGroup(),Ro.info("Configured Developer Command Prompt")},un=st("pcnv8"),cn=st("gmbrv"),at=st("6XIgB"),un=st("pcnv8");var Zo,Qo=Fe.resolve(__dirname,"../src/msvc"),es=(at=st("6XIgB"),cn=st("gmbrv"),{});es=st("cReTf"),Zo={id:"en",data:{long:{years:{one:"{0} year",other:"{0} years"},months:{one:"{0} month",other:"{0} months"},weeks:{one:"{0} week",other:"{0} weeks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hour",other:"{0} hours"},minutes:{one:"{0} minute",other:"{0} minutes"},seconds:{one:"{0} second",other:"{0} seconds"}},narrow:{years:{one:"{0}y",other:"{0}y"},months:{one:"{0}m",other:"{0}m"},weeks:{one:"{0}w",other:"{0}w"},days:{one:"{0}d",other:"{0}d"},hours:{one:"{0}h",other:"{0}h"},minutes:{one:"{0}m",other:"{0}m"},seconds:{one:"{0}s",other:"{0}s"}},short:{years:{one:"{0} yr",other:"{0} yrs"},months:{one:"{0} mth",other:"{0} mths"},weeks:{one:"{0} wk",other:"{0} wks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hr",other:"{0} hr"},minutes:{one:"{0} min",other:"{0} min"},seconds:{one:"{0} sec",other:"{0} sec"}}}};var ts=st("5FRs7"),rs={};st("j5MHF").addLocale("en",(e=>{var t=Math.floor(Math.abs(e)),r=(""+e).replace(/^[^.]*\.?/,"").length;return"string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r?"one":"other"}));var ns={};Object.defineProperty(ns,"__esModule",{value:!0}),ns.getUbuntuVersion=void 0,ns.getUbuntuVersion=async()=>{if("linux"!==process.platform)return[];const e=await(t="lsb_release",r=["-a"],new Promise(((e,n)=>{Ye.execFile(t,r,{encoding:"utf8",shell:!1},((o,s,i)=>{if(o)return"errno"in o&&"ENOENT"===o.code?void e(null):void n(Error(`Could not execute \`${t} ${r.join(" ")}\`: ${o} (stderr=${i})`));e(s)}))})));var t,r;if(null===e)return[];const n=/^Distributor ID:\s*(.+)$/,o=/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/,s=/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/;let i=null,a=null,c=!1;for(const t of e.split("\n")){const e=t.match(n);if(null!==e){if("Ubuntu"!==e[1])return[];c=!0}const r=t.match(o);r&&(i=r);const l=t.match(s);if(l&&(a=l),c&&i&&a)break}if(!c)return[];for(const e of[i,a])if(e){const t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map((e=>parseInt(e,10)))}return[]},lo=st("fVzwP"),un=st("pcnv8"),at=st("6XIgB"),un=st("pcnv8");let os,ss=!1;at=st("6XIgB"),at=st("6XIgB"),un=st("pcnv8"),at=st("6XIgB");const is={async nala(e,r,n){if(!I())return;if("string"==typeof os)return{binDir:os};const o=t(ct).sync("nala",{nothrow:!0});if(null!==o)return os=(0,at.dirname)(o),{binDir:os};u("/bin/bash",["-c",`echo "deb [signed-by=${await E("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key")}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await x("nala",void 0,[],!0):await x("nala-legacy",void 0,[],!0)}catch(e){await x("nala-legacy",void 0,[],!0)}return os="/usr/bin",{binDir:os}},cmake:K,ninja:Te,python:J,async vcpkg(e,r,n){return ss&&null!==t(ct).sync("vcpkg",{nothrow:!0})?{binDir:(0,at.dirname)(t(ct).sync("vcpkg"))}:("linux"===process.platform&&(C()?(_("curl"),_("zip"),_("unzip"),_("tar"),_("git"),_("pkg-config")):P()?(R("curl"),R("zip"),R("unzip"),R("tar"),R("git"),R("pkg-config")):I()&&(await x("curl"),await x("zip"),await x("unzip"),await x("tar"),await x("git"),await x("pkg-config"))),(0,Be.existsSync)((0,at.join)(r,(0,at.addShExt)("bootstrap-vcpkg",".bat")))?(0,un.notice)(`Vcpkg folder already exists at ${r}. This might mean that ~/vcpkg is restored from the cache.`):t(xt).sync("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,at.dirname)(r),stdio:"inherit"}),t(xt).sync((0,at.addShExt)((0,at.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:r,shell:!0,stdio:"inherit"}),k(r),await f(r),ss=!0,{binDir:r})},async bazel(e,t,r){switch(process.platform){case"win32":return T("bazelisk",e);case"darwin":return O("bazelisk",e);case"linux":if(C())throw Error("installing bazel on Arch linux is not supported yet");if(P())return R("dnf-plugins-core",void 0),u("dnf",["copr","enable","vbatts/bazel"]),R("bazel4",void 0);if(I())return u("bash",["-c",`echo "deb [arch=amd64 signed-by=${await E("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg")}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),x("bazel",e,[],!0);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async conan(e,t,r){return await ne("setuptools",""),ne("conan",e)},meson(e,t,r){return ne("meson",e)},gcovr(e,t,r){return ne("gcovr",e)},async opencppcoverage(e,t,r){if("win32"===process.platform)return await T("opencppcoverage",e),{binDir:await(async()=>{const e="C:/Program Files/OpenCppCoverage";return await f(e),e})()}},llvm:he,gcc:ce,choco:$,brew:n,async powershell(e,t,r){switch(process.platform){case"win32":{await T("powershell-core",e);const t="C:/Program Files/PowerShell/7";return await f(t),{binDir:t}}case"darwin":return O("powershell",e,["--cask"]);case"linux":if(C())return _("powershell-bin",e,"yay");if(P())return R("curl"),u("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),R("powershell",e);if(I()){await x("curl");const t=await Re();return u("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${t[0]}.0${t[1]}/packages-microsoft-prod.deb`]),u("dpkg",["-i","packages-microsoft-prod.deb"]),x("powershell",e,[],!0)}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},ccache(e,t,r){switch(process.platform){case"win32":return T("ccache",e);case"darwin":return O("ccache",e);case"linux":if(C())return _("ccache",e);if(P())return R("ccache",e);if(I())return x("ccache",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async doxygen(e,t,r){switch(process.platform){case"win32":{await T("doxygen.install",e);const t={binDir:await(async()=>{if("win32"===process.platform){for(const e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if((0,Be.existsSync)((0,at.join)(e,"doxygen.exe")))return await f(e),e;throw Error("Failed to find doxygen binary")}throw Error("Unsupported platform")})()};return await oe(te("graphviz",void 0)),t}case"darwin":{const e=O("doxygen",void 0);return await oe(te("graphviz",void 0)),e}case"linux":{let n;if(""===e||void 0===e||C()||P())if(C())n=_("doxygen",e);else{if(P())return R("doxygen",e);if(!I())throw Error("Unsupported linux distributions");n=await x("doxygen",e)}else{if(!I())throw Error("Unsupported linux distributions");try{n=await X("doxygen",e,se,t,r),await x("libclang-cpp9")}catch(e){(0,un.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await x("doxygen",void 0)}}return await oe(te("graphviz",void 0)),n}default:throw Error("Unsupported platform")}},graphviz:oe,async cppcheck(e,t,r){switch(process.platform){case"win32":return await T("cppcheck",e),{binDir:await(async()=>{const e="C:/Program Files/Cppcheck";return await f(e),e})()};case"darwin":return O("cppcheck",e);case"linux":if(C())return _("cppcheck",e);if(P())return R("ccache",e);if(I())return x("cppcheck",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},clangtidy:me,clangformat:me,msvc:Oe,vcvarsall:_e,async kcov(e,t,r){if("linux"!==process.platform)return void(0,un.info)("Kcov is not supported on non-linux");const n=e.split("-");let o=(e=>e.match(/^v/)?e:"v"+e)(n[0]);const s=n[1],i=(e=>parseInt(e.replace(/^v/,""),10))(o);let a;return 38===i&&(o="v38"),"binary"!==s||39>i?(a=await X("kcov",o,Ae,t,r),a):(a=await X("kcov",o,Ie,t,r),C()?_("binutils"):P()?R("binutils"):I()&&await x("libbinutils"),a)},async make(e,t,r){switch(process.platform){case"win32":return T("make",e);case"darwin":return O("make",e),await f("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(C())return _("make",e);if(P())return R("make",e);if(I())return x("make",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},task(e,t,r){return X("task",e,W,t,r)},sevenzip:A},as=["nala","choco","brew","python","powershell","vcpkg","bazel","cmake","ninja","conan","meson","gcovr","opencppcoverage","ccache","doxygen","graphviz","cppcheck","clangtidy","clangformat","llvm","gcc","msvc","vcvarsall","kcov","make","task","sevenzip"],cs=["compiler","architecture",...as];Ne(process.argv).then((e=>{process.exitCode=e})).catch((e=>{(0,un.error)("main() panicked!"),(0,un.error)(e),process.exitCode=1})); //# sourceMappingURL=setup_cpp.js.map diff --git a/dist/setup_cpp.js.map b/dist/setup_cpp.js.map index d2f85d5e..1b19b7e5 100644 --- a/dist/setup_cpp.js.map +++ b/dist/setup_cpp.js.map @@ -1 +1 @@ -{"mappings":"4IAWA,SAASA,EAAOC,EAAMC,EAASC,GAM7B,GALuB,mBAAZD,IACTC,EAAKD,EACLA,EAAU,KAGPC,EAAI,CACP,GAAuB,mBAAZC,QACT,MAAM,IAAIC,UAAU,yBAGtB,OAAO,IAAID,SAAQ,CAAUE,EAASC,KACpCP,EAAMC,EAAMC,GAAW,IAAI,CAAUM,EAAIC,KACnCD,EACFD,EAAOC,GAEPF,EAAQG,E,OAMhBC,GAAKT,EAAMC,GAAW,IAAI,CAAUM,EAAIC,KAElCD,IACc,WAAZA,EAAGG,MAAqBT,GAAWA,EAAQU,gBAC7CJ,EAAK,KACLC,GAAK,GAGTN,EAAGK,EAAIC,E,IClCJ,SAASI,EAAUC,EAAkBC,EAAmBC,GAC7D,IAAK,CAAC,SAAU,SAASC,SAASC,QAAQC,UACxC,OAEF,GAAsB,iBAAXC,GACT,MAAO,C,OAAEA,IAGX,MAAMC,EAAcC,EAAAC,IAAMC,KAAK,OAAQ,CAAEC,SAAS,IAClD,OAAoB,OAAhBJ,GACFD,IAAS,EAAAM,GAAAC,SAAQN,GACV,C,OAAED,OAIX,EAAAQ,GAAAC,cAAa,kGAAmG,CAC9GC,MAAO,YAETV,GAAS,kBAEF,C,OAAEA,I,CCrBX,SAASW,EAAsBC,EAAQC,GACnC,MAAMC,EAAMF,EAAO9B,QAAQgC,KAAOhB,QAAQgB,IACp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,GAC3D,OAAO0D,EAAS,OAAQvH,EAAS+I,EAAoBtB,EAAU5D,E,EqB+B/Dq8D,SAAUz8D,GAINkV,GAAoC,CACxC,OACA,QACA,OACA,SACA,aACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,kBACA,SACA,UACA,WACA,WACA,YACA,cACA,OACA,MACA,OACA,YACA,OACA,OACA,OACA,YAOIkC,GAAwB,CAAC,WAAY,kBAAmBlC,IAgM9D1B,GAAK1e,QAAQ4nE,MACV5nB,MAAMlI,IACL93C,QAAQ6kB,SAAWizB,CAAG,IAEvBxtB,OAAO/oB,KACN,EAAA4E,GAAAzC,OAAM,qBACN,EAAAyC,GAAAzC,OAAMnC,GACNvB,QAAQ6kB,SAAW,CAAC","sources":["node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","src/brew/brew.ts","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js","packages/root-tools/src/index.ts","packages/untildify-user/src/index.ts","packages/exec-powershell/src/index.ts","src/utils/env/addEnv.ts","src/utils/setup/setupAptPack.ts","src/utils/setup/setupPacmanPack.ts","src/utils/setup/setupBrewPack.ts","src/chocolatey/chocolatey.ts","src/utils/setup/setupChocoPack.ts","src/utils/env/isArch.ts","src/utils/env/hasDnf.ts","src/utils/setup/setupDnfPack.ts","src/utils/env/isUbuntu.ts","src/sevenzip/sevenzip.ts","packages/user-access/src/index.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","src/utils/setup/extract.ts","src/utils/setup/setupBin.ts","src/task/task.ts","src/cmake/cmake.ts","src/python/python.ts","node_modules/.pnpm/is-url-online@1.5.0/node_modules/is-url-online/dist/index.mjs","src/utils/setup/version.ts","src/default_versions.ts","src/utils/setup/setupPipPack.ts","src/graphviz/graphviz.ts","src/doxygen/doxygen.ts","src/macos-sdk/macos-sdk.ts","src/gcc/gcc.ts","src/llvm/llvm.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/lib.js","src/vcvarsall/vcvarsall.ts","src/msvc/msvc.ts","src/ninja/ninja.ts","node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","src/utils/env/ubuntu_version.ts","src/kcov/kcov.ts","src/main.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v4.js","node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/rng.js","node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/stringify.js","node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/validate.js","node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/regex.js","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/oidc-utils.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/index.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/proxy.ts","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/auth.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/summary.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/path-utils.ts","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/name.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/normalize-trim.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/add-exe-ext.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/add-name-prefix.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/add-name-suffix.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/add-sh-ext.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/add-sh-relative-prefix.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/remove-ext.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/replace-ext.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/is-path-inside.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/node_modules/.pnpm/replace-ext@2.0.0/node_modules/replace-ext/index.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","node_modules/.pnpm/github.com+aminya+ci-detect@37fe40075bebec96794ba0a7c4a6d5c70cbea00d/node_modules/@npmcli/ci-detect/lib/index.js","packages/ci-log/src/index.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/oidc-utils.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/summary.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/path-utils.ts","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io.ts","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io-util.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","node_modules/.pnpm/semver@7.3.7/node_modules/semver/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/re.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/constants.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/debug.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/semver.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/parse-options.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/identifiers.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/parse.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/clean.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/inc.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/diff.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/eq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/major.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/minor.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/patch.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/prerelease.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rcompare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-loose.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-build.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/sort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rsort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/neq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/cmp.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/coerce.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/comparator.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/range.js","node_modules/.pnpm/lru-cache@7.8.1/node_modules/lru-cache/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/satisfies.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/to-comparators.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/max-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-version.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/outside.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/gtr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/ltr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/intersects.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/simplify.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/subset.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/exec.ts","node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","node_modules/.pnpm/@parcel+runtime-js@2.7.0_@parcel+core@2.7.0/node_modules/@parcel/runtime-js/lib/runtime-5490b668a0a39291.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/lib/time-delta.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/index.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.js","node_modules/.pnpm/is-node@1.0.2/node_modules/is-node/index.js","node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js","node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js","node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js","node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js","node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/main.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/signals.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/core.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/realtime.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js","node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js","node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js","node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","node_modules/.pnpm/github.com+aminya+escape-path-with-spaces@d9f81ee649203ddc55783a2f96ada59df06118e3/node_modules/escape-path-with-spaces/index.js","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/index.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/locales/en.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","src/vcpkg/vcpkg.ts","src/nala/nala.ts","src/bazel/bazel.ts","src/conan/conan.ts","src/meson/meson.ts","src/gcovr/gcovr.ts","src/opencppcoverage/opencppcoverage.ts","src/powershell/powershell.ts","src/ccache/ccache.ts","src/cppcheck/cppcheck.ts","src/make/make.ts"],"sourcesContent":["var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n","import { execFileSync } from \"child_process\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupBrew(_version: string, _setupDir: string, _arch: string) {\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // brew is not thread-safe\n execFileSync(`/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"`, {\n stdio: \"inherit\",\n })\n binDir = \"/usr/local/bin/\"\n\n return { binDir }\n}\n","'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n","'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n","'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\nconst {constants: BufferConstants} = require('buffer');\nconst stream = require('stream');\nconst {promisify} = require('util');\nconst bufferStream = require('./buffer-stream');\n\nconst streamPipelinePromisified = promisify(stream.pipeline);\n\nclass MaxBufferError extends Error {\n\tconstructor() {\n\t\tsuper('maxBuffer exceeded');\n\t\tthis.name = 'MaxBufferError';\n\t}\n}\n\nasync function getStream(inputStream, options) {\n\tif (!inputStream) {\n\t\tthrow new Error('Expected a stream');\n\t}\n\n\toptions = {\n\t\tmaxBuffer: Infinity,\n\t\t...options\n\t};\n\n\tconst {maxBuffer} = options;\n\tconst stream = bufferStream(options);\n\n\tawait new Promise((resolve, reject) => {\n\t\tconst rejectPromise = error => {\n\t\t\t// Don't retrieve an oversized buffer.\n\t\t\tif (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) {\n\t\t\t\terror.bufferedData = stream.getBufferedValue();\n\t\t\t}\n\n\t\t\treject(error);\n\t\t};\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tawait streamPipelinePromisified(inputStream, stream);\n\t\t\t\tresolve();\n\t\t\t} catch (error) {\n\t\t\t\trejectPromise(error);\n\t\t\t}\n\t\t})();\n\n\t\tstream.on('data', () => {\n\t\t\tif (stream.getBufferedLength() > maxBuffer) {\n\t\t\t\trejectPromise(new MaxBufferError());\n\t\t\t}\n\t\t});\n\t});\n\n\treturn stream.getBufferedValue();\n}\n\nmodule.exports = getStream;\nmodule.exports.buffer = (stream, options) => getStream(stream, {...options, encoding: 'buffer'});\nmodule.exports.array = (stream, options) => getStream(stream, {...options, array: true});\nmodule.exports.MaxBufferError = MaxBufferError;\n","import which from \"which\"\nimport execa from \"execa\"\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return (Boolean(process.env.CI) || isRoot()) && which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/** Detect if the process has root privileges */\nexport function isRoot(): boolean {\n return process.getuid?.() === 0\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: execa.SyncOptions = { stdio: \"inherit\", shell: true }\n): execa.ExecaSyncReturnValue {\n if (isSudo()) {\n return execa.commandSync(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa.sync(program, args, execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: execa.Options = { stdio: \"inherit\", shell: true }\n): execa.ExecaChildProcess {\n if (isSudo()) {\n return execa.command(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa(program, args, execOptions)\n }\n}\n","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"root-tools\"\n\nexport function untildifyUser(path: string) {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER, path)\n } else {\n return join(\"/home/\", process.env.SUDO_USER, path)\n }\n } else {\n return untildify(`~/${path}`)\n }\n}\n","import execa from \"execa\"\nimport which from \"which\"\n\n/** The cached powershell path */\nlet powershell: string | undefined\n\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.Options = { stdio: \"inherit\" }\n): execa.ExecaChildProcess {\n return execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.SyncOptions = { stdio: \"inherit\" }\n): execa.ExecaSyncReturnValue {\n return execa.sync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true })\n if (maybePwsh !== null) {\n powershell = maybePwsh\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\")\n }\n return powershell\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, existsSync, readFileSync } from \"fs\"\nimport { error, warning } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"patha\"\nimport escapeSpace from \"escape-path-with-spaces\"\n\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addEnv(name: string, valGiven: string | undefined, shouldEscapeSpace: boolean = false) {\n const val = shouldEscapeSpace ? escapeSpace(valGiven ?? \"\") : valGiven\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val)\n }\n } else {\n await addEnvSystem(name, val)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to export environment variable ${name}=${val}. You should add it manually.`)\n }\n}\n\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addPath(path: string) {\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n ghAddPath(path)\n } catch (err) {\n error(err as Error)\n await addPathSystem(path)\n }\n } else {\n await addPathSystem(path)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to add ${path} to the percistent PATH. You should add it manually.`)\n }\n}\n\nexport const cpprc_path = untildifyUser(\".cpprc\")\n\nasync function addEnvSystem(name: string, valGiven: string | undefined) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`)\n info(`${name}='${val}' was set in the environment.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val\n}\n\nasync function addPathSystem(path: string) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(\n `$USER_PATH=([Environment]::GetEnvironmentVariable(\"patha\", \"User\")); [Environment]::SetEnvironmentVariable(\"patha\", \"${path};$USER_PATH\", \"User\")`\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport PATH=\"${path}:$PATH\"\\n`)\n info(`\"${path}\" was added to \"${cpprc_path}\"`)\n return\n }\n default: {\n return\n }\n }\n}\n\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport function setupCppInProfile() {\n if (setupCppInProfile_called) {\n return\n }\n\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"export SOURCE_CPPRC=0\"\n\n if (existsSync(cpprc_path)) {\n const cpprc_content = readFileSync(cpprc_path, \"utf8\")\n if (cpprc_content.includes(source_cpprc_str)) {\n // already executed setupCppInProfile\n return\n }\n }\n\n appendFileSync(cpprc_path, `\\n${source_cpprc_str}\\n`)\n info(`Added ${source_cpprc_str} to ${cpprc_path}`)\n\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${cpprc_path}\" ]]; then source \"${cpprc_path}\"; fi\\n`\n\n try {\n // source cpprc in .profile\n const profile_path = untildifyUser(\".profile\")\n appendFileSync(profile_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${profile_path}`)\n\n // source cpprc in .bashrc too\n const bashrc_path = untildifyUser(\".bashrc\")\n appendFileSync(bashrc_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${bashrc_path}`)\n } catch (err) {\n warning(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`)\n }\n\n setupCppInProfile_called = true\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { appendFileSync, existsSync } from \"fs\"\nimport which from \"which\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(\n name: string,\n version?: string,\n repositories: string[] = [],\n update = false\n): Promise {\n const apt: string = getApt()\n\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n\n process.env.DEBIAN_FRONTEND = \"noninteractive\"\n\n if (!didUpdate || update) {\n updateRepos(apt)\n didUpdate = true\n }\n\n if (!didInit) {\n await initApt(apt)\n didInit = true\n }\n\n if (Array.isArray(repositories) && repositories.length !== 0) {\n for (const repo of repositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"--update\", \"-y\", repo])\n }\n updateRepos(apt)\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}=${version}`])\n } catch {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}-${version}`])\n }\n } else {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nfunction getApt() {\n let apt: string\n if (which.sync(\"nala\", { nothrow: true }) !== null) {\n apt = \"nala\"\n } else {\n apt = \"apt-get\"\n }\n return apt\n}\n\nfunction updateRepos(apt: string) {\n execRootSync(apt, apt !== \"nala\" ? [\"update\", \"-y\"] : [\"update\"])\n}\n\n/** Install apt utils and certificates (usually missing from docker containers) */\nasync function initApt(apt: string) {\n execRootSync(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\",\n ])\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\")\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\")\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n await addEnv(\"LANG\", \"C.UTF-8\")\n await addEnv(\"LC_ALL\", \"C.UTF-8\")\n }\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n for (const key of keys) {\n execRootSync(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n }\n return fileName\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n await setupAptPack(\"curl\", undefined)\n execRootSync(\"bash\", [\"-c\", `curl -s ${url} | gpg --no-default-keyring --keyring gnupg-ring:${fileName} --import`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport function updateAptAlternatives(name: string, path: string) {\n if (ciDetect() === \"github-actions\") {\n return execRootSync(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, \"40\"])\n } else {\n setupCppInProfile()\n return appendFileSync(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`\n )\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"ci-log\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport function setupPacmanPack(name: string, version?: string, aur?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (!didUpdate) {\n execRootSync(pacman, [\"-Syuu\", \"--noconfirm\"])\n didUpdate = true\n }\n\n if (!didInit) {\n // install base-devel\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}=${version}`])\n } catch {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}${version}`])\n }\n } else {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport execa from \"execa\"\nimport which from \"which\"\nimport { setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport function setupBrewPack(name: string, version?: string, extraArgs: string[] = []): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n // brew is not thread-safe\n execa.sync(\"brew\", [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name, ...extraArgs], {\n stdio: \"inherit\",\n })\n\n return { binDir: \"/usr/local/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\n\nlet binDir: string | undefined\n\nexport async function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execa.sync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" }\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n\n if (existsSync(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","/* eslint-disable require-atomic-updates */\nimport { addPath } from \"../env/addEnv\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\nimport execa from \"execa\"\nimport { info } from \"@actions/core\"\nimport { notice } from \"ci-log\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise {\n info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n delete env.TMP\n delete env.TEMP\n delete env.Path\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execa.sync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execa.sync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n notice(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir)\n\n return { binDir }\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info, warning } from \"ci-log\"\n\n// let didUpdate: boolean = false\n\n/** A function that installs a package using dnf */\nexport function setupDnfPack(name: string, version?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n\n const dnf = \"dnf\"\n\n // if (!didUpdate) {\n // execRootSync(dnf, [\"-y\", \"check-update\"])\n // didUpdate = true\n // }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(dnf, [\"-y\", \"install\", `${name}-${version}`])\n } catch (err) {\n warning(`${(err as Error).toString()}\\nInstalling the default version available via dnf`)\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n } else {\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n setupDnfPack(\"p7zip\", version)\n return setupDnfPack(\"p7zip-plugins\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"p7zip-full\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { isSudo, execRootSync } from \"root-tools\"\n\n/**\n * Give the user access to the given path and its sub-directories. It changes the owner to the SUDO_USER. This allows\n * the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport function giveUserAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n execRootSync(\"chown\", [\"-R\", process.env.SUDO_USER, path], { cwd: path, stdio: \"inherit\", shell: true })\n }\n}\n",null,"import execa from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"ci-log\"\nimport { giveUserAccess } from \"user-access\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n giveUserAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using 7z\nexport function extractZip(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=0\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, ...flags], { stdio: \"inherit\" })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n giveUserAccess(dest)\n return dest\n}\n","import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"patha\"\nimport { existsSync } from \"fs\"\nimport { tmpdir } from \"os\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The main binary file. */\n binFileName: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: {\n (file: string, dest: string): Promise | Promise\n }\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n}\n\nlet didInit: boolean = false\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform, arch: string) => PackageInfo | Promise,\n setupDir: string,\n arch: string\n): Promise {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch\n )\n\n // Restore from cache (if found).\n if (ciDetect() === \"github-actions\") {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (existsSync(binDir) && existsSync(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n // download ane extract the package into the installation directory.\n if (!existsSync(binDir) || !existsSync(binFile)) {\n info(`Download and extract ${name} ${version}`)\n\n if (!didInit) {\n if (process.platform === \"linux\") {\n // extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"xz\")\n } else if (hasDnf()) {\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"xz\")\n } else if (isUbuntu()) {\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"xz-utils\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n try {\n const downloaded = await downloadTool(url)\n await extractFunction?.(downloaded, setupDir)\n // if (typeof extractedBinDir === \"string\") {\n // binDir = extractedBinDir\n // installDir = extractedBinDir\n // }\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n await addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (ciDetect() === \"github-actions\" && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","import { addExeExt } from \"patha\"\nimport { extractTarByExe, extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const isZip = platform === \"win32\"\n const extension = isZip ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? extractZip : extractTarByExe,\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { extractTar } from \"@actions/tool-cache\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractZip } from \"../utils/setup/extract\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { warning, info } from \"ci-log\"\nimport { isArch } from \"../utils/env/isArch\"\nimport which from \"which\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { dirname, join } from \"patha\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string) {\n if (ciDetect() !== \"github-actions\") {\n // TODO parse version\n return setupPythonViaSystem(version, setupDir, arch)\n }\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n return setupActionsPython(version, setupDir, arch)\n } catch (err) {\n warning((err as Error).toString())\n return setupPythonViaSystem(version, setupDir, arch)\n }\n}\n\nexport async function setupPythonViaSystem(\n version: string,\n setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const pythonBinPath =\n which.sync(\"python3.exe\", { nothrow: true }) ??\n which.sync(\"python.exe\", { nothrow: true }) ??\n join(setupDir, \"python.exe\")\n const pythonSetupDir = dirname(pythonBinPath)\n /** The directory which the tool is installed to */\n await activateWinPython(pythonSetupDir)\n return { installDir: pythonSetupDir, binDir: pythonSetupDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"python3\", version)\n }\n case \"linux\": {\n let installInfo: InstallationInfo\n if (isArch()) {\n installInfo = setupPacmanPack(\"python\", version)\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n installInfo = setupDnfPack(\"python3\", version)\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n installInfo = await setupAptPack(\"python3\", version)\n await setupAptPack(\"python3-pip\")\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n return installInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinPython(binDir: string) {\n info(`Add ${binDir} to PATH`)\n await addPath(binDir)\n}\n","// src/modules/https-utils.ts\nimport { request } from \"https\";\nfunction isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction requestWorks(url, method) {\n return new Promise((resolve) => {\n try {\n const req = request(url, { method }, (result) => {\n resolve(isStatusOK(result));\n });\n req.on(\"error\", (_error) => {\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\n\n// src/modules/isUrlString.ts\nimport { URL } from \"url\";\nvar isUrlString = (url) => {\n if (typeof url !== \"string\") {\n return false;\n }\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) {\n return false;\n }\n try {\n new URL(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n\n// src/modules/isUrlOnline.ts\nvar isUrlOnline = async (url) => {\n const isUrl = isUrlString(url);\n if (!isUrl) {\n return false;\n }\n let response = await requestWorks(url, \"HEAD\");\n if (response) {\n return true;\n }\n response = await requestWorks(url, \"GET\");\n return !!response;\n};\n\n// src/modules/prependHttp.ts\nvar prependHttp = ({\n url,\n https = true\n}) => {\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) {\n return url;\n }\n return trimmedUrl.replace(\n /^(?!(?:\\w+:)?\\/\\/)/u,\n https ? \"https://\" : \"http://\"\n );\n};\nexport {\n isUrlOnline,\n isUrlString,\n prependHttp\n};\n","import { isUrlOnline } from \"is-url-online\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverValid from \"semver/functions/valid\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { info } from \"ci-log\"\n\n/**\n * Gets the specific versions supported by this action compatible with the supplied (specific or minimum) version in\n * descending order of release (e.g., `5.0.2`, `5.0.1`, and `5.0.0` for `5`).\n */\nexport function getSpecificVersions(versions: Set, semversion: string): string[] {\n return Array.from(versions)\n .filter((v) => /^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion))\n .sort()\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise\n): Promise<[string, string]> {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [version, url]\n }\n }\n\n if (!versions.has(version)) {\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n }\n\n for (const specificVersion of getSpecificVersions(versions, version)) {\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [specificVersion, url]\n }\n }\n\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().match(versionRegex)?.[1]\n return version\n } catch (e) {\n console.error(e)\n return undefined\n }\n}\n\n/** Check if the given bin is up to date against the target version */\nexport async function isBinUptoDate(\n givenFile: string,\n targetVersion: string,\n versionRegex: RegExp = defaultVersionRegex\n) {\n const givenVersion = await getBinVersion(givenFile, versionRegex)\n if (\n typeof givenVersion === \"string\" &&\n typeof targetVersion === \"string\" &&\n givenVersion !== \"\" &&\n targetVersion !== \"\"\n ) {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n","import { Inputs, Opts } from \"./main\"\nimport { isArch } from \"./utils/env/isArch\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nconst DefaultVersions: Record = {\n llvm: \"13.0.0\", // https://github.com/llvm/llvm-project/releases\n clangtidy: \"13.0.0\",\n clangformat: \"13.0.0\",\n ninja: \"1.11.0\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.23.2\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.1\", // https://pypi.org/project/gcovr/\n conan: \"1.50.0\", // https://github.com/conan-io/conan/releases\n meson: \"0.63.0\", // https://github.com/mesonbuild/meson/releases\n kcov: \"40\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.14.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.3-1\" : \"1.9.4\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: \"11\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nconst DefaultUbuntuVersion: Record> = {\n llvm: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 20: \"5.1\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"0.63.0\",\n 18: \"0.61.4\",\n },\n nala: {\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 22: \"40\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n}\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined, osVersion: number[] | null = null) {\n if (useDefault(version, name)) {\n // choose the default linux version based on ubuntu version\n if (process.platform === \"linux\" && osVersion !== null && name in DefaultUbuntuVersion) {\n const osVersionMaj = osVersion[0]\n const newest = parseInt(Object.keys(DefaultUbuntuVersion[name])[0], 10) // newest version with the default\n if (osVersionMaj >= newest) {\n return DefaultUbuntuVersion[name][osVersionMaj]\n } else {\n return \"\"\n }\n }\n // anything else\n return DefaultVersions[name]\n } else {\n return version ?? \"\"\n }\n}\n\nfunction useDefault(version: string | undefined, name: string) {\n return version === \"true\" || (version === undefined && name in DefaultVersions)\n}\n\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n for (let i = 0; i < tools.length; i++) {\n // tools excluding i_tool\n const otherTools = tools.slice(0, i).concat(tools.slice(i + 1))\n\n const tool = tools[i]\n\n if (!useDefault(opts[tool], tool)) {\n for (let i_other = 0; i_other < otherTools.length; i_other++) {\n const otherTool = otherTools[i_other]\n const useDefaultOtherTool = useDefault(opts[otherTool], otherTools[i_other])\n if (useDefaultOtherTool) {\n // use the same version if the other tool was requested with the default\n opts[otherTool] = opts[tool]\n } else if (opts[tool] !== opts[otherTools[i_other]]) {\n // error if different from the other given versions\n return false\n }\n }\n }\n }\n return true\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport execa from \"execa\"\nimport which from \"which\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { setupPython } from \"../../python/python\"\nimport { isBinUptoDate } from \"./version\"\nimport { join } from \"patha\"\nimport { getVersion } from \"../../default_versions\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\n\nlet python: string | undefined\nlet binDir: string | undefined\n\nlet tried = false\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pip`)\n\n // setup python and pip if needed\n if (python === undefined) {\n if (which.sync(\"python3\", { nothrow: true }) !== null) {\n python = \"python3\"\n } else if (which.sync(\"python\", { nothrow: true }) !== null && (await isBinUptoDate(\"python\", \"3.0.0\"))) {\n python = \"python\"\n } else {\n info(\"python3 was not found. Installing python\")\n await setupPython(getVersion(\"python\", undefined), \"\", process.arch)\n // try again\n if (tried) {\n throw new Error(\"Failed to install python\")\n }\n tried = true\n return setupPipPack(name, version)\n }\n if (process.platform === \"win32\") {\n // downgrade pip on Windows\n // https://github.com/pypa/pip/issues/10875#issuecomment-1030293005\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"pip==21.3.1\"], { stdio: \"inherit\" })\n } else if (process.platform === \"linux\") {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n if (isArch()) {\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n await setupAptPack(\"python3-pip\")\n }\n }\n\n // install wheel (required for Conan, Meson, etc.)\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"wheel\"], { stdio: \"inherit\" })\n }\n\n execa.sync(python, [\"-m\", \"pip\", \"install\", version !== undefined && version !== \"\" ? `${name}==${version}` : name], {\n stdio: \"inherit\",\n })\n\n if (binDir === undefined) {\n if (process.platform === \"linux\") {\n binDir = \"/home/runner/.local/bin/\"\n } else if (process.platform === \"darwin\") {\n binDir = \"/usr/local/bin/\"\n } else {\n // windows or others\n try {\n binDir = join(\n (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim(),\n \"Scripts\"\n )\n } catch {\n binDir = join(\n (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim(),\n \"Scripts\"\n )\n }\n }\n info(`${binDir} to PATH`)\n await addPath(binDir)\n }\n\n return { binDir }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"graphviz\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"graphviz\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateGraphviz(): Promise {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir)\n return { binDir }\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { addExeExt, join } from \"patha\"\nimport { extractTar, extractZip } from \"../utils/setup/extract\"\nimport { notice } from \"ci-log\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../default_versions\"\nimport { existsSync } from \"fs\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"doxygen.install\", version)\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n const installationInfo = setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || version === undefined || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"doxygen\", version)\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack(\"doxygen\", version)\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n await setupAptPack(\"libclang-cpp9\")\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack(\"doxygen\", undefined)\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]) {\n if (existsSync(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { error } from \"ci-log\"\n\nexport async function setupMacOSSDK() {\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim())\n } else {\n error(`SDKROOT not set`)\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import { addPath, addEnv } from \"../utils/env/addEnv\"\nimport { existsSync } from \"fs\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { join, addExeExt } from \"patha\"\nimport { warning, info } from \"ci-log\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extract7Zip } from \"../utils/setup/extract\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"12\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\",\n },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = setupDnfPack(\"gcc\", version)\n setupDnfPack(\"gcc-c++\", version)\n setupDnfPack(\"libstdc++-devel\", undefined)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n installationInfo = await setupAptPack(\"g++\", version, [])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc-multilib\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && existsSync(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && existsSync(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (existsSync(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(version: string, binDir: string) {\n const promises: Promise[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`)\n // )\n\n if (process.platform === \"win32\") {\n promises.push(addEnv(\"CC\", addExeExt(`${binDir}/gcc`)), addEnv(\"CXX\", addExeExt(`${binDir}/g++`)))\n } else {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`), addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${majorVersion}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${majorVersion}`)\n }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${version}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${version}`)\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (ciDetect() === \"github-actions\") {\n addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nfunction addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { join, delimiter, addExeExt } from \"patha\"\nimport semverLte from \"semver/functions/lte\"\nimport semverMajor from \"semver/functions/major\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\nimport {\n getSpecificVersionAndUrl,\n getSpecificVersions,\n getVersions,\n semverCoerceIfInvalid,\n} from \"../utils/setup/version\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { setOutput } from \"@actions/core\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { info, warning } from \"ci-log\"\nimport { existsSync } from \"fs\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { getVersion } from \"../default_versions\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n//================================================\n// Version\n//================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n])\n\n//================================================\n// URL\n//================================================\n\n/** Gets a LLVM download URL for GitHub. */\nfunction getGitHubUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`\n}\n\n/** Gets a LLVM download URL for https://releases.llvm.org. */\nfunction getReleaseUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://releases.llvm.org/${version}/${file}`\n}\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING: Set = new Set([\n \"3.5.1\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.1\",\n \"3.8.1\",\n \"3.9.1\",\n \"6.0.1\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.1\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.1\",\n])\n\n/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_MISSING.has(version)) {\n return null\n }\n\n const darwin = version === \"9.0.0\" ? \"-darwin-apple\" : \"-apple-darwin\"\n const prefix = \"clang+llvm-\"\n const suffix = `-x86_64${darwin}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map = new Map()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_SUFFIX_MAP: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n // \"14.0.1\": \"-ubuntu-18.04\", // only available for powerpc64le\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"14.0.0\"\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let ubuntu: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n ubuntu = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n ubuntu = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n ubuntu = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${ubuntu} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n const suffix = version === \"5.0.0\" ? `-linux-x86_64${ubuntu}.tar.xz` : `-x86_64-linux-gnu${ubuntu}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\"])\n\n/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isUrlOnline(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\n//================================================\n// Exports\n//================================================\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nasync function getLLVMPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n setOutput(\"version\", specificVersion)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addExeExt(\"clang\"),\n extractFunction:\n platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, [\"--strip-components=1\"])\n },\n }\n}\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await _setupLLVM(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir, version)\n return installationInfo\n}\n\nlet didInit = false\nasync function _setupLLVM(version: string, setupDir: string, arch: string) {\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n if (!didInit) {\n if (process.platform === \"linux\") {\n // install llvm build dependencies\n await setupGcc(getVersion(\"gcc\", undefined), \"\", arch) // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n if (isArch()) {\n // setupPacmanPack(\"ncurses\")\n // TODO: install libtinfo ?\n } else if (isUbuntu()) {\n await setupAptPack(\"libtinfo-dev\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n return installationInfo\n}\n\nexport async function activateLLVM(directory: string, versionGiven: string) {\n const version = semverCoerceIfInvalid(versionGiven)\n\n const lib = join(directory, \"lib\")\n\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const promises = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${lib}${delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${lib}${delimiter}${dyld}`),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n\n // compiler paths\n addEnv(\"CC\", addExeExt(`${directory}/bin/clang`)),\n addEnv(\"CXX\", addExeExt(`${directory}/bin/clang++`)),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // windows builds fail with llvm's CPATH\n if (process.platform !== \"win32\") {\n const llvmMajor = semverMajor(version)\n if (existsSync(`${directory}/lib/clang/${version}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n } else if (existsSync(`${directory}/lib/clang/${llvmMajor}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n }\n }\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${directory}/bin/clang`)\n updateAptAlternatives(\"cxx\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"clang\", `${directory}/bin/clang`)\n updateAptAlternatives(\"clang++\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"lld\", `${directory}/bin/lld`)\n updateAptAlternatives(\"ld.lld\", `${directory}/bin/ld.lld`)\n updateAptAlternatives(\"llvm-ar\", `${directory}/bin/llvm-ar`)\n }\n\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\n/** Setup llvm tools (clang tidy, clang format, etc) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string): Promise {\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n return _setupLLVM(version, setupDir, arch)\n}\n\nfunction addLLVMLoggingMatcher() {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n",null,null,"const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n if (uwp == 'true') {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre == 'true') {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, { shell: \"cmd\" }).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd","import { existsSync } from \"fs\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { info } from \"ci-log\"\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (VCTargetsPath !== undefined && existsSync(VCTargetsPath)) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath)\n }\n\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { vsversion_to_versionnumber, findVcvarsall } from \"msvc-dev-cmd/lib.js\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { join } from \"patha\"\nimport { existsSync } from \"fs\"\nimport { error, info, warning } from \"ci-log\"\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (ciDetect() === \"github-actions\") {\n addMSVCLoggingMatcher()\n }\n}\n\nfunction addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { addExeExt } from \"patha\"\nimport { extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","import { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\n\nexport async function ubuntuVersion(): Promise {\n if (isUbuntu()) {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack(\"lsb-release\")\n }\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n throw new Error(\"Failed to get the ubuntu major version.\")\n }\n\n return versionSplitted\n } else {\n return null\n }\n}\n","import execa from \"execa\"\nimport { join, addExeExt } from \"patha\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../default_versions\"\nimport { extractTarByExe } from \"../utils/setup/extract\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version\"\nimport { info } from \"ci-log\"\nimport { untildifyUser } from \"untildify-user\"\nimport { setupNinja } from \"../ninja/ninja\"\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: extractTarByExe,\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, [\"--strip-components=1\"])\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n setupPacmanPack(\"libdwarf\")\n setupPacmanPack(\"libcurl-openssl\")\n } else if (hasDnf()) {\n setupDnfPack(\"libdwarf-devel\")\n setupDnfPack(\"libcurl-devel\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libdw-dev\")\n await setupAptPack(\"libcurl4-openssl-dev\")\n }\n }\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(getVersion(\"cmake\", undefined), join(untildifyUser(\"\"), \"cmake\"), \"\")\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined), join(untildifyUser(\"\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n setupDnfPack(\"binutils\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libbinutils\")\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","import { getInput, endGroup, startGroup, notice } from \"@actions/core\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupMake } from \"./make/make\"\nimport { setupTask } from \"./task/task\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey\"\nimport { setupCmake } from \"./cmake/cmake\"\nimport { setupConan } from \"./conan/conan\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck\"\nimport { setupDoxygen } from \"./doxygen/doxygen\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupLLVM, setupClangTools } from \"./llvm/llvm\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPython } from \"./python/python\"\nimport mri from \"mri\"\nimport { untildifyUser } from \"untildify-user\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport * as timeDelta from \"time-delta\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport * as numerous from \"numerous\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport numerousLocale from \"numerous/locales/en.js\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\n\nimport semverValid from \"semver/functions/valid\"\nimport { getVersion, syncVersions } from \"./default_versions\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { error, info, success, warning } from \"ci-log\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { join } from \"patha\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupBazel } from \"./bazel/bazel\"\nimport { setupPowershell } from \"./powershell/powershell\"\n\n/** The setup functions */\nconst setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n powershell: setupPowershell,\n ccache: setupCcache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangTools,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\n/** The tools that can be installed */\nconst tools: Array = [\n \"nala\",\n \"choco\",\n \"brew\",\n \"python\",\n \"powershell\",\n \"vcpkg\",\n \"bazel\",\n \"cmake\",\n \"ninja\",\n \"conan\",\n \"meson\",\n \"gcovr\",\n \"opencppcoverage\",\n \"ccache\",\n \"doxygen\",\n \"graphviz\",\n \"cppcheck\",\n \"clangtidy\",\n \"clangformat\",\n \"llvm\",\n \"gcc\",\n \"msvc\",\n \"vcvarsall\",\n \"kcov\",\n \"make\",\n \"task\",\n \"sevenzip\",\n]\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\"\n\n// an array of possible inputs\nconst inputs: Array = [\"compiler\", \"architecture\", ...tools]\n\n/** The main entry function */\nexport async function main(args: string[]): Promise {\n if (ciDetect() !== \"github-actions\") {\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? untildifyUser(\"\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n let osVersion: number[] | null = null\n try {\n // get the version if not already done\n osVersion = await ubuntuVersion()\n } catch (err) {\n warning((err as Error).toString())\n }\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\n\n // loop over the tools and run their setup function\n for (const tool of tools) {\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n startGroup(`Installing ${tool} ${version}`)\n try {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(\n getVersion(tool, version, osVersion),\n undefined,\n arch,\n undefined,\n undefined,\n false,\n false\n )\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool) ? \"llvm\" : tool)\n\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction(getVersion(tool, version, osVersion), setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n time1 = Date.now()\n try {\n if (maybeCompiler !== undefined) {\n const { compiler, version } = getCompilerInfo(maybeCompiler)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const installationInfo = await setupGcc(getVersion(\"gcc\", version, osVersion), join(setupCppDir, \"gcc\"), arch)\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\"), addEnv(\"CXX\", \"clang++\")])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n } catch (e) {\n error(e as string | Error)\n errorMessages.push(`Failed to install the ${maybeCompiler}`)\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup_cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => success(tool))\n errorMessages.forEach((tool) => error(tool))\n\n info(\"setup_cpp finished\")\n\n if (ciDetect() !== \"github-actions\") {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\n// Run main\nmain(process.argv)\n .then((ret) => {\n process.exitCode = ret\n })\n .catch((err) => {\n error(\"main() panicked!\")\n error(err as string | Error)\n process.exitCode = 1\n })\n\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n }\n>\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: inputs,\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(maybeCompiler: string) {\n const compilerAndMaybeVersion = maybeCompiler.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\nfunction printHelp() {\n info(`\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n\n--tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n `)\n}\n\n/** Get an object from github actions */\nfunction maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\n\nfunction getSuccessMessage(tool: string, installationInfo: InstallationInfo | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n",null,null,null,null,"import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;",null,null,null,"module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n",null,null,null,"module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n","import { basename, extname } from \"path\"\n\n/**\n * Get the name of the given file path.\n *\n * By default the file extension is included in the returned name. To remove the extension, set the second parameter to `false`.\n *\n * @example\n *\n * ```js\n * import { name } from \"patha\"\n *\n * name(\"path/to/file.md\") // gives \"file.md\"\n *\n * name(\"path/to/file.md\", false) // gives \"file\"\n * ```\n *\n * @param path The given file path\n * @param includeExtension If the name should include the file extension as well\n * @returns The base name without the extension\n */\nexport function name(path: string, includeExtension: boolean = true) {\n if (includeExtension) {\n return basename(path)\n } else {\n return basename(path, extname(path))\n }\n}\n","import { normalize, sep } from \"path\"\nimport escapeRegexp from \"escape-string-regexp\"\n\n/**\n * Normalizes the path and removes the trailing slashes.\n *\n * @example\n *\n * ```js\n * import { normalize, normalizeTrim } from \"patha\"\n *\n * normalizeTrim(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf\"\n *\n * normalize(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf/\"\n * ```\n *\n * @param path The given file path\n * @returns The normalized and trimmed file path\n */\nexport function normalizeTrim(path: string) {\n return normalize(path).replace(new RegExp(`${escapeRegexp(sep)}$`), \"\")\n}\n","export default function escapeStringRegexp(string) {\n\tif (typeof string !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\t// Escape characters with special meaning either inside or outside character sets.\n\t// Use a simple backslash escape when it’s always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n\treturn string\n\t\t.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&')\n\t\t.replace(/-/g, '\\\\x2d');\n}\n","/**\n * Add bin extension to the given binary name.\n *\n * @example\n *\n * ```js\n * import { addExeExt } from \"patha\"\n *\n * addExeExt(\"path/to/file-name\") // gives \"path/to/file-name.exe\" on Windows and \"path/to/file-name\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext Defaults to `.exe` on Windows\n * @param other_ext Defaults to `\"\"` On other platforms.\n */\nexport function addExeExt(name: string, win_ext = \".exe\", other_ext = \"\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a prefix to the start of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNamePrefix } from \"patha\"\n *\n * addNamePrefix(\"path/to/file-name.ext\", \"new-\") // gives \"path/to/new-file-name.ext\"\n * ```\n *\n * @param path The given file path\n * @param prefix The prefix to add to the start of the file name\n * @returns The path with a prefix added to its file name\n */\nexport function addNamePrefix(path: string, prefix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name prefix\n const NameWithPrefix = `${prefix}${nameWithoutExt}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithPrefix)\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a suffix to the end of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNameSuffix } from \"patha\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \"-old\") // gives \"path/to/file-name-old.ext\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \".test\") // gives \"path/to/file-name.test.ext\"\n * ```\n *\n * @param path The given file path\n * @param suffix The suffix to add to the end of the file name\n * @returns The path with a suffix added to its file name\n */\nexport function addNameSuffix(path: string, suffix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name suffix\n const NameWithSuffix = `${nameWithoutExt}${suffix}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithSuffix)\n}\n","/**\n * Add a native shell extension to the given name.\n *\n * @example\n *\n * ```js\n * import { addShExt } from \"patha\"\n *\n * addShExt(\"path/to/file-name\") // gives \"path/to/file-name.cmd\" on Windows and \"path/to/file-name.sh\" on others\n *\n * addShExt(\"path/to/file-name\", \".bat\") // gives \"path/to/file-name.bat\" on Windows and \"path/to/file-name.sh\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.cmd` on Windows\n * @param other_ext `.sh` On others.\n * @returns The file path with the shell extension added\n */\nexport function addShExt(name: string, win_ext = \".cmd\", other_ext = \".sh\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","/**\n * Prefix a `./` for unix shell and nothing for `cmd`.\n *\n * @example\n *\n * ```js\n * import { addShRelativePrefix } from \"patha\"\n *\n * addShRelativePrefix(\"some/file-name\") // gives \"some/file-name\" on Windows and \"./some/file-name\" on others.\n * ```\n *\n * @param path The given path\n * @returns The path with `./` added on Unix\n */\nexport function addShRelativePrefix(path: string) {\n if (process.platform === \"win32\") {\n return path\n }\n return `./${path}`\n}\n","import { extname } from \"path\"\n\n/**\n * Remove a path's extension.\n *\n * @example\n *\n * ```js\n * import { removeExt } from \"patha\"\n *\n * removeExt(\"some/dir/file.ext\") // gives \"some/dir/file\"\n * ```\n *\n * @param path The given path\n * @returns The path without its file extension\n */\nexport function removeExt(path: string) {\n const extensionLength = extname(path).length\n return path.slice(0, -extensionLength)\n}\n","import replaceExtOrig from \"replace-ext\"\n\n/**\n * Replaces the extension from path with extension and returns the updated path string.\n *\n * Does not replace the extension if path is not a string or is empty.\n *\n * @example\n *\n * ```js\n * import { replaceExt } from \"patha\"\n *\n * replaceExt(\"path/to/file.md\", \".html\") // gives \"path/to/file.html\"\n * ```\n *\n * @param path The given path\n * @param extension The extension to replace\n */\nexport function replaceExt(path: string, extension: string) {\n // TODO replaceExt should not change `/` to `\\\\` on Windows\n return replaceExtOrig(path, extension)\n}\n","import { relative, resolve, sep } from \"path\"\n\n/**\n * Check if a path is inside another path.\n *\n * Note that relative paths are resolved against `process.cwd()` to make them absolute.\n *\n * This function does not check if the paths exist and it only works with strings.\n *\n * @example\n *\n * ```js\n * import { isPathInside } from \"patha\"\n *\n * isPathInside(\"a/b/c\", \"a/b\")\n * //=> true\n *\n * isPathInside(\"a/b/c\", \"x/y\")\n * //=> false\n *\n * isPathInside(\"a/b/c\", \"a/b/c\")\n * //=> false\n *\n * isPathInside(\"/Users/some/dev/aa\", \"/Users/some\")\n * //=> true\n * ```\n */\nexport function isPathInside(childPath: string, parentPath: string): boolean {\n // copied from is-path-inside because the package uses node:path that can't be bundled for the browser\n\n const relation = relative(parentPath, childPath)\n\n return Boolean(relation && relation !== \"..\" && !relation.startsWith(`..${sep}`) && relation !== resolve(childPath))\n}\n","'use strict';\n\nvar path = require('path');\n\nfunction replaceExt(npath, ext) {\n if (typeof npath !== 'string') {\n return npath;\n }\n\n if (npath.length === 0) {\n return npath;\n }\n\n var nFileName = path.basename(npath, path.extname(npath)) + ext;\n var nFilepath = path.join(path.dirname(npath), nFileName);\n\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if (startsWithSingleDot(npath)) {\n return '.' + path.sep + nFilepath;\n }\n\n return nFilepath;\n}\n\nfunction startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === '.' + path.sep || first2chars === './';\n}\n\nmodule.exports = replaceExt;\n","// This is not the set of all possible signals.\n//\n// It IS, however, the set of all signals that trigger\n// an exit on either Linux or BSD systems. Linux is a\n// superset of the signal names supported on BSD, and\n// the unknown signals just fail to register, so we can\n// catch that easily enough.\n//\n// Don't bother with SIGKILL. It's uncatchable, which\n// means that we can't fire any callbacks anyway.\n//\n// If a user does happen to register a handler on a non-\n// fatal signal like SIGWINCH or something, and then\n// exit, it'll end up firing `process.emit('exit')`, so\n// the handler will be fired anyway.\n//\n// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n// artificially, inherently leave the process in a\n// state from which it is not safe to try and enter JS\n// listeners.\nmodule.exports = [\n 'SIGABRT',\n 'SIGALRM',\n 'SIGHUP',\n 'SIGINT',\n 'SIGTERM'\n]\n\nif (process.platform !== 'win32') {\n module.exports.push(\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n module.exports.push(\n 'SIGIO',\n 'SIGPOLL',\n 'SIGPWR',\n 'SIGSTKFLT',\n 'SIGUNUSED'\n )\n}\n","module.exports = () =>\n process.env.GERRIT_PROJECT ? 'gerrit'\n : process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI ? 'azure-pipelines'\n : process.env.BITRISE_IO ? 'bitrise'\n : process.env.BUDDY_WORKSPACE_ID ? 'buddy'\n : process.env.BUILDKITE ? 'buildkite'\n : process.env.CIRRUS_CI ? 'cirrus'\n : process.env.GITLAB_CI ? 'gitlab'\n : process.env.APPVEYOR ? 'appveyor'\n : process.env.CIRCLECI ? 'circle-ci'\n : process.env.SEMAPHORE ? 'semaphore'\n : process.env.DRONE ? 'drone'\n : process.env.DSARI ? 'dsari'\n : process.env.GITHUB_ACTION ? 'github-actions'\n : process.env.TDDIUM ? 'tddium'\n : process.env.SCREWDRIVER ? 'screwdriver'\n : process.env.STRIDER ? 'strider'\n : process.env.TASKCLUSTER_ROOT_URL ? 'taskcluster'\n : process.env.JENKINS_URL ? 'jenkins'\n : process.env['bamboo.buildKey'] ? 'bamboo'\n : process.env.GO_PIPELINE_NAME ? 'gocd'\n : process.env.HUDSON_URL ? 'hudson'\n : process.env.WERCKER ? 'wercker'\n : process.env.NETLIFY ? 'netlify'\n : process.env.NOW_GITHUB_DEPLOYMENT ? 'now-github'\n : process.env.GITLAB_DEPLOYMENT ? 'now-gitlab'\n : process.env.BITBUCKET_DEPLOYMENT ? 'now-bitbucket'\n : process.env.BITBUCKET_BUILD_NUMBER ? 'bitbucket-pipelines'\n : process.env.NOW_BUILDER ? 'now'\n : process.env.VERCEL_GITHUB_DEPLOYMENT ? 'vercel-github'\n : process.env.VERCEL_GITLAB_DEPLOYMENT ? 'vercel-gitlab'\n : process.env.VERCEL_BITBUCKET_DEPLOYMENT ? 'vercel-bitbucket'\n : process.env.VERCEL_URL ? 'vercel'\n : process.env.MAGNUM ? 'magnum'\n : process.env.NEVERCODE ? 'nevercode'\n : process.env.RENDER ? 'render'\n : process.env.SAIL_CI ? 'sail'\n : process.env.SHIPPABLE ? 'shippable'\n : process.env.TEAMCITY_VERSION ? 'teamcity'\n // codeship and a few others\n : process.env.CI_NAME ? process.env.CI_NAME\n // heroku doesn't set envs other than node in a heroku-specific location\n : /\\/\\.heroku\\/node\\/bin\\/node$/.test(process.env.NODE || '') ? 'heroku'\n // test travis after the others, since several CI systems mimic it\n : process.env.TRAVIS ? 'travis-ci'\n // aws CodeBuild/CodePipeline\n : process.env.CODEBUILD_SRC_DIR ? 'aws-codebuild'\n : process.env.CI === 'true' || process.env.CI === '1' ? 'custom'\n // Google Cloud Build - it sets almost nothing\n : process.env.BUILDER_OUTPUT ? 'builder'\n : false\n","import * as core from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\n\nexport function error(err: string | Error) {\n return ciDetect() === \"github-actions\" ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n\nexport function warning(msg: string) {\n return ciDetect() === \"github-actions\" ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return ciDetect() === \"github-actions\" ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return ciDetect() === \"github-actions\" ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,null,null,null,null,null,null,"// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nmodule.exports = {\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: require('./internal/constants').SEMVER_SPEC_VERSION,\n SemVer: require('./classes/semver'),\n compareIdentifiers: require('./internal/identifiers').compareIdentifiers,\n rcompareIdentifiers: require('./internal/identifiers').rcompareIdentifiers,\n parse: require('./functions/parse'),\n valid: require('./functions/valid'),\n clean: require('./functions/clean'),\n inc: require('./functions/inc'),\n diff: require('./functions/diff'),\n major: require('./functions/major'),\n minor: require('./functions/minor'),\n patch: require('./functions/patch'),\n prerelease: require('./functions/prerelease'),\n compare: require('./functions/compare'),\n rcompare: require('./functions/rcompare'),\n compareLoose: require('./functions/compare-loose'),\n compareBuild: require('./functions/compare-build'),\n sort: require('./functions/sort'),\n rsort: require('./functions/rsort'),\n gt: require('./functions/gt'),\n lt: require('./functions/lt'),\n eq: require('./functions/eq'),\n neq: require('./functions/neq'),\n gte: require('./functions/gte'),\n lte: require('./functions/lte'),\n cmp: require('./functions/cmp'),\n coerce: require('./functions/coerce'),\n Comparator: require('./classes/comparator'),\n Range: require('./classes/range'),\n satisfies: require('./functions/satisfies'),\n toComparators: require('./ranges/to-comparators'),\n maxSatisfying: require('./ranges/max-satisfying'),\n minSatisfying: require('./ranges/min-satisfying'),\n minVersion: require('./ranges/min-version'),\n validRange: require('./ranges/valid'),\n outside: require('./ranges/outside'),\n gtr: require('./ranges/gtr'),\n ltr: require('./ranges/ltr'),\n intersects: require('./ranges/intersects'),\n simplifyRange: require('./ranges/simplify'),\n subset: require('./ranges/subset'),\n}\n","const { MAX_SAFE_COMPONENT_LENGTH } = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst createToken = (name, value, isGlobal) => {\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '[0-9]+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*')\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+')\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCE', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$')\n","// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n/* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\nmodule.exports = {\n SEMVER_SPEC_VERSION,\n MAX_LENGTH,\n MAX_SAFE_INTEGER,\n MAX_SAFE_COMPONENT_LENGTH,\n}\n","const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier)\n this.inc('pre', identifier)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier)\n }\n this.inc('pre', identifier)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre':\n if (this.prerelease.length === 0) {\n this.prerelease = [0]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n this.prerelease.push(0)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = [identifier, 0]\n }\n } else {\n this.prerelease = [identifier, 0]\n }\n }\n break\n\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.format()\n this.raw = this.version\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about so we always get a consistent\n// obj with keys in a consistent order.\nconst opts = ['includePrerelease', 'loose', 'rtl']\nconst parseOptions = options =>\n !options ? {}\n : typeof options !== 'object' ? { loose: true }\n : opts.filter(k => options[k]).reduce((o, k) => {\n o[k] = true\n return o\n }, {})\nmodule.exports = parseOptions\n","const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers,\n}\n","const { MAX_LENGTH } = require('../internal/constants')\nconst { re, t } = require('../internal/re')\nconst SemVer = require('../classes/semver')\n\nconst parseOptions = require('../internal/parse-options')\nconst parse = (version, options) => {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n if (version.length > MAX_LENGTH) {\n return null\n }\n\n const r = options.loose ? re[t.LOOSE] : re[t.FULL]\n if (!r.test(version)) {\n return null\n }\n\n try {\n return new SemVer(version, options)\n } catch (er) {\n return null\n }\n}\n\nmodule.exports = parse\n","const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier) => {\n if (typeof (options) === 'string') {\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse')\nconst eq = require('./eq')\n\nconst diff = (version1, version2) => {\n if (eq(version1, version2)) {\n return null\n } else {\n const v1 = parse(version1)\n const v2 = parse(version2)\n const hasPre = v1.prerelease.length || v2.prerelease.length\n const prefix = hasPre ? 'pre' : ''\n const defaultResult = hasPre ? 'prerelease' : ''\n for (const key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return prefix + key\n }\n }\n }\n return defaultResult // may be undefined\n }\n}\nmodule.exports = diff\n","const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","const compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","const SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","const compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { re, t } = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n let next\n while ((next = re[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false,\n }\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n const sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n const sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n const sameSemVer = this.semver.version === comp.semver.version\n const differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n const oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<')\n const oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>')\n\n return (\n sameDirectionIncreasing ||\n sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan ||\n oppositeDirectionsGreaterThan\n )\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.format()\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First, split based on boolean or ||\n this.raw = range\n this.set = range\n .split('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${range}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0) {\n this.set = [first]\n } else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.format()\n }\n\n format () {\n this.range = this.set\n .map((comps) => {\n return comps.join(' ').trim()\n })\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n range = range.trim()\n\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = Object.keys(this.options).join(',')\n const memoKey = `parseRange:${memoOpts}:${range}`\n const cached = cache.get(memoKey)\n if (cached) {\n return cached\n }\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range)\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n\n // normalize spaces\n range = range.split(/\\s+/).join(' ')\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n let rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\nmodule.exports = Range\n\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\nconst replaceTildes = (comp, options) =>\n comp.trim().split(/\\s+/).map((c) => {\n return replaceTilde(c, options)\n }).join(' ')\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\nconst replaceCarets = (comp, options) =>\n comp.trim().split(/\\s+/).map((c) => {\n return replaceCaret(c, options)\n }).join(' ')\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map((c) => {\n return replaceXRange(c, options)\n }).join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<') {\n pr = '-0'\n }\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp.trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return (`${from} ${to}`).trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","const perf = typeof performance === 'object' && performance &&\n typeof performance.now === 'function' ? performance : Date\n\nconst hasAbortController = typeof AbortController !== 'undefined'\n\n// minimal backwards-compatibility polyfill\nconst AC = hasAbortController ? AbortController : Object.assign(\n class AbortController {\n constructor () { this.signal = new AC.AbortSignal }\n abort () { this.signal.aborted = true }\n },\n { AbortSignal: class AbortSignal { constructor () { this.aborted = false }}}\n)\n\nconst warned = new Set()\nconst deprecatedOption = (opt, instead) => {\n const code = `LRU_CACHE_OPTION_${opt}`\n if (shouldWarn(code)) {\n warn(code, `${opt} option`, `options.${instead}`, LRUCache)\n }\n}\nconst deprecatedMethod = (method, instead) => {\n const code = `LRU_CACHE_METHOD_${method}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, method)\n warn(code, `${method} method`, `cache.${instead}()`, get)\n }\n}\nconst deprecatedProperty = (field, instead) => {\n const code = `LRU_CACHE_PROPERTY_${field}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, field)\n warn(code, `${field} property`, `cache.${instead}`, get)\n }\n}\n\nconst emitWarning = (...a) => {\n typeof process === 'object' &&\n process &&\n typeof process.emitWarning === 'function'\n ? process.emitWarning(...a)\n : console.error(...a)\n}\n\nconst shouldWarn = code => !warned.has(code)\n\nconst warn = (code, what, instead, fn) => {\n warned.add(code)\n const msg = `The ${what} is deprecated. Please use ${instead} instead.`\n emitWarning(msg, 'DeprecationWarning', code, fn)\n}\n\nconst isPosInt = n => n && n === Math.floor(n) && n > 0 && isFinite(n)\n\n/* istanbul ignore next - This is a little bit ridiculous, tbh.\n * The maximum array length is 2^32-1 or thereabouts on most JS impls.\n * And well before that point, you're caching the entire world, I mean,\n * that's ~32GB of just integers for the next/prev links, plus whatever\n * else to hold that many keys and values. Just filling the memory with\n * zeroes at init time is brutal when you get that big.\n * But why not be complete?\n * Maybe in the future, these limits will have expanded. */\nconst getUintArray = max => !isPosInt(max) ? null\n: max <= Math.pow(2, 8) ? Uint8Array\n: max <= Math.pow(2, 16) ? Uint16Array\n: max <= Math.pow(2, 32) ? Uint32Array\n: max <= Number.MAX_SAFE_INTEGER ? ZeroArray\n: null\n\nclass ZeroArray extends Array {\n constructor (size) {\n super(size)\n this.fill(0)\n }\n}\n\nclass Stack {\n constructor (max) {\n if (max === 0) {\n return []\n }\n const UintArray = getUintArray(max)\n this.heap = new UintArray(max)\n this.length = 0\n }\n push (n) {\n this.heap[this.length++] = n\n }\n pop () {\n return this.heap[--this.length]\n }\n}\n\nclass LRUCache {\n constructor (options = {}) {\n const {\n max = 0,\n ttl,\n ttlResolution = 1,\n ttlAutopurge,\n updateAgeOnGet,\n updateAgeOnHas,\n allowStale,\n dispose,\n disposeAfter,\n noDisposeOnSet,\n noUpdateTTL,\n maxSize = 0,\n sizeCalculation,\n fetchMethod,\n } = options\n\n // deprecated options, don't trigger a warning for getting them if\n // the thing being passed in is another LRUCache we're copying.\n const {\n length,\n maxAge,\n stale,\n } = options instanceof LRUCache ? {} : options\n\n if (max !== 0 && !isPosInt(max)) {\n throw new TypeError('max option must be a nonnegative integer')\n }\n\n const UintArray = max ? getUintArray(max) : Array\n if (!UintArray) {\n throw new Error('invalid max value: ' + max)\n }\n\n this.max = max\n this.maxSize = maxSize\n this.sizeCalculation = sizeCalculation || length\n if (this.sizeCalculation) {\n if (!this.maxSize) {\n throw new TypeError('cannot set sizeCalculation without setting maxSize')\n }\n if (typeof this.sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation set to non-function')\n }\n }\n\n this.fetchMethod = fetchMethod || null\n if (this.fetchMethod && typeof this.fetchMethod !== 'function') {\n throw new TypeError('fetchMethod must be a function if specified')\n }\n\n this.keyMap = new Map()\n this.keyList = new Array(max).fill(null)\n this.valList = new Array(max).fill(null)\n this.next = new UintArray(max)\n this.prev = new UintArray(max)\n this.head = 0\n this.tail = 0\n this.free = new Stack(max)\n this.initialFill = 1\n this.size = 0\n\n if (typeof dispose === 'function') {\n this.dispose = dispose\n }\n if (typeof disposeAfter === 'function') {\n this.disposeAfter = disposeAfter\n this.disposed = []\n } else {\n this.disposeAfter = null\n this.disposed = null\n }\n this.noDisposeOnSet = !!noDisposeOnSet\n this.noUpdateTTL = !!noUpdateTTL\n\n if (this.maxSize !== 0) {\n if (!isPosInt(this.maxSize)) {\n throw new TypeError('maxSize must be a positive integer if specified')\n }\n this.initializeSizeTracking()\n }\n\n this.allowStale = !!allowStale || !!stale\n this.updateAgeOnGet = !!updateAgeOnGet\n this.updateAgeOnHas = !!updateAgeOnHas\n this.ttlResolution = isPosInt(ttlResolution) || ttlResolution === 0\n ? ttlResolution : 1\n this.ttlAutopurge = !!ttlAutopurge\n this.ttl = ttl || maxAge || 0\n if (this.ttl) {\n if (!isPosInt(this.ttl)) {\n throw new TypeError('ttl must be a positive integer if specified')\n }\n this.initializeTTLTracking()\n }\n\n // do not allow completely unbounded caches\n if (this.max === 0 && this.ttl === 0 && this.maxSize === 0) {\n throw new TypeError('At least one of max, maxSize, or ttl is required')\n }\n if (!this.ttlAutopurge && !this.max && !this.maxSize) {\n const code = 'LRU_CACHE_UNBOUNDED'\n if (shouldWarn(code)) {\n warned.add(code)\n const msg = 'TTL caching without ttlAutopurge, max, or maxSize can ' +\n 'result in unbounded memory consumption.'\n emitWarning(msg, 'UnboundedCacheWarning', code, LRUCache)\n }\n }\n\n if (stale) {\n deprecatedOption('stale', 'allowStale')\n }\n if (maxAge) {\n deprecatedOption('maxAge', 'ttl')\n }\n if (length) {\n deprecatedOption('length', 'sizeCalculation')\n }\n }\n\n getRemainingTTL (key) {\n return this.has(key, { updateAgeOnHas: false }) ? Infinity : 0\n }\n\n initializeTTLTracking () {\n this.ttls = new ZeroArray(this.max)\n this.starts = new ZeroArray(this.max)\n\n this.setItemTTL = (index, ttl) => {\n this.starts[index] = ttl !== 0 ? perf.now() : 0\n this.ttls[index] = ttl\n if (ttl !== 0 && this.ttlAutopurge) {\n const t = setTimeout(() => {\n if (this.isStale(index)) {\n this.delete(this.keyList[index])\n }\n }, ttl + 1)\n /* istanbul ignore else - unref() not supported on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n }\n\n this.updateItemAge = (index) => {\n this.starts[index] = this.ttls[index] !== 0 ? perf.now() : 0\n }\n\n // debounce calls to perf.now() to 1s so we're not hitting\n // that costly call repeatedly.\n let cachedNow = 0\n const getNow = () => {\n const n = perf.now()\n if (this.ttlResolution > 0) {\n cachedNow = n\n const t = setTimeout(() => cachedNow = 0, this.ttlResolution)\n /* istanbul ignore else - not available on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n return n\n }\n\n this.getRemainingTTL = (key) => {\n const index = this.keyMap.get(key)\n if (index === undefined) {\n return 0\n }\n return this.ttls[index] === 0 || this.starts[index] === 0 ? Infinity\n : ((this.starts[index] + this.ttls[index]) - (cachedNow || getNow()))\n }\n\n this.isStale = (index) => {\n return this.ttls[index] !== 0 && this.starts[index] !== 0 &&\n ((cachedNow || getNow()) - this.starts[index] > this.ttls[index])\n }\n }\n updateItemAge (index) {}\n setItemTTL (index, ttl) {}\n isStale (index) { return false }\n\n initializeSizeTracking () {\n this.calculatedSize = 0\n this.sizes = new ZeroArray(this.max)\n this.removeItemSize = index => this.calculatedSize -= this.sizes[index]\n this.requireSize = (k, v, size, sizeCalculation) => {\n if (!isPosInt(size)) {\n if (sizeCalculation) {\n if (typeof sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation must be a function')\n }\n size = sizeCalculation(v, k)\n if (!isPosInt(size)) {\n throw new TypeError('sizeCalculation return invalid (expect positive integer)')\n }\n } else {\n throw new TypeError('invalid size value (must be positive integer)')\n }\n }\n return size\n }\n this.addItemSize = (index, v, k, size) => {\n this.sizes[index] = size\n const maxSize = this.maxSize - this.sizes[index]\n while (this.calculatedSize > maxSize) {\n this.evict(true)\n }\n this.calculatedSize += this.sizes[index]\n }\n this.delete = k => {\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n this.calculatedSize -= this.sizes[index]\n }\n }\n return LRUCache.prototype.delete.call(this, k)\n }\n }\n removeItemSize (index) {}\n addItemSize (index, v, k, size) {}\n requireSize (k, v, size, sizeCalculation) {\n if (size || sizeCalculation) {\n throw new TypeError('cannot set size without setting maxSize on cache')\n }\n }\n\n *indexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.tail; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.head) {\n break\n } else {\n i = this.prev[i]\n }\n }\n }\n }\n\n *rindexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.head; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.tail) {\n break\n } else {\n i = this.next[i]\n }\n }\n }\n }\n\n isValidIndex (index) {\n return this.keyMap.get(this.keyList[index]) === index\n }\n\n *entries () {\n for (const i of this.indexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n *rentries () {\n for (const i of this.rindexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n\n *keys () {\n for (const i of this.indexes()) {\n yield this.keyList[i]\n }\n }\n *rkeys () {\n for (const i of this.rindexes()) {\n yield this.keyList[i]\n }\n }\n\n *values () {\n for (const i of this.indexes()) {\n yield this.valList[i]\n }\n }\n *rvalues () {\n for (const i of this.rindexes()) {\n yield this.valList[i]\n }\n }\n\n [Symbol.iterator] () {\n return this.entries()\n }\n\n find (fn, getOptions = {}) {\n for (const i of this.indexes()) {\n if (fn(this.valList[i], this.keyList[i], this)) {\n return this.get(this.keyList[i], getOptions)\n }\n }\n }\n\n forEach (fn, thisp = this) {\n for (const i of this.indexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n rforEach (fn, thisp = this) {\n for (const i of this.rindexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n get prune () {\n deprecatedMethod('prune', 'purgeStale')\n return this.purgeStale\n }\n\n purgeStale () {\n let deleted = false\n for (const i of this.rindexes({ allowStale: true })) {\n if (this.isStale(i)) {\n this.delete(this.keyList[i])\n deleted = true\n }\n }\n return deleted\n }\n\n dump () {\n const arr = []\n for (const i of this.indexes()) {\n const key = this.keyList[i]\n const value = this.valList[i]\n const entry = { value }\n if (this.ttls) {\n entry.ttl = this.ttls[i]\n }\n if (this.sizes) {\n entry.size = this.sizes[i]\n }\n arr.unshift([key, entry])\n }\n return arr\n }\n\n load (arr) {\n this.clear()\n for (const [key, entry] of arr) {\n this.set(key, entry.value, entry)\n }\n }\n\n dispose (v, k, reason) {}\n\n set (k, v, {\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n size = this.requireSize(k, v, size, sizeCalculation)\n let index = this.size === 0 ? undefined : this.keyMap.get(k)\n if (index === undefined) {\n // addition\n index = this.newIndex()\n this.keyList[index] = k\n this.valList[index] = v\n this.keyMap.set(k, index)\n this.next[this.tail] = index\n this.prev[index] = this.tail\n this.tail = index\n this.size ++\n this.addItemSize(index, v, k, size)\n noUpdateTTL = false\n } else {\n // update\n const oldVal = this.valList[index]\n if (v !== oldVal) {\n if (this.isBackgroundFetch(oldVal)) {\n oldVal.__abortController.abort()\n } else {\n if (!noDisposeOnSet) {\n this.dispose(oldVal, k, 'set')\n if (this.disposeAfter) {\n this.disposed.push([oldVal, k, 'set'])\n }\n }\n }\n this.removeItemSize(index)\n this.valList[index] = v\n this.addItemSize(index, v, k, size)\n }\n this.moveToTail(index)\n }\n if (ttl !== 0 && this.ttl === 0 && !this.ttls) {\n this.initializeTTLTracking()\n }\n if (!noUpdateTTL) {\n this.setItemTTL(index, ttl)\n }\n if (this.disposeAfter) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return this\n }\n\n newIndex () {\n if (this.size === 0) {\n return this.tail\n }\n if (this.size === this.max && this.max !== 0) {\n return this.evict(false)\n }\n if (this.free.length !== 0) {\n return this.free.pop()\n }\n // initial fill, just keep writing down the list\n return this.initialFill++\n }\n\n pop () {\n if (this.size) {\n const val = this.valList[this.head]\n this.evict(true)\n return val\n }\n }\n\n evict (free) {\n const head = this.head\n const k = this.keyList[head]\n const v = this.valList[head]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'evict')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'evict'])\n }\n }\n this.removeItemSize(head)\n // if we aren't about to use the index, then null these out\n if (free) {\n this.keyList[head] = null\n this.valList[head] = null\n this.free.push(head)\n }\n this.head = this.next[head]\n this.keyMap.delete(k)\n this.size --\n return head\n }\n\n has (k, { updateAgeOnHas = this.updateAgeOnHas } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n if (!this.isStale(index)) {\n if (updateAgeOnHas) {\n this.updateItemAge(index)\n }\n return true\n }\n }\n return false\n }\n\n // like get(), but without any LRU updating or TTL expiration\n peek (k, { allowStale = this.allowStale } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined && (allowStale || !this.isStale(index))) {\n return this.valList[index]\n }\n }\n\n backgroundFetch (k, index, options) {\n const v = index === undefined ? undefined : this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return v\n }\n const ac = new AC()\n const fetchOpts = {\n signal: ac.signal,\n options,\n }\n const p = Promise.resolve(this.fetchMethod(k, v, fetchOpts)).then(v => {\n if (!ac.signal.aborted) {\n this.set(k, v, fetchOpts.options)\n }\n return v\n })\n p.__abortController = ac\n p.__staleWhileFetching = v\n if (index === undefined) {\n this.set(k, p, fetchOpts.options)\n index = this.keyMap.get(k)\n } else {\n this.valList[index] = p\n }\n return p\n }\n\n isBackgroundFetch (p) {\n return p && typeof p === 'object' && typeof p.then === 'function' &&\n Object.prototype.hasOwnProperty.call(p, '__staleWhileFetching')\n }\n\n // this takes the union of get() and set() opts, because it does both\n async fetch (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n if (!this.fetchMethod) {\n return this.get(k, {allowStale, updateAgeOnGet})\n }\n\n const options = {\n allowStale,\n updateAgeOnGet,\n ttl,\n noDisposeOnSet,\n size,\n sizeCalculation,\n noUpdateTTL,\n }\n\n let index = this.keyMap.get(k)\n if (index === undefined) {\n return this.backgroundFetch(k, index, options)\n } else {\n // in cache, maybe already fetching\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return allowStale && v.__staleWhileFetching !== undefined\n ? v.__staleWhileFetching : v\n }\n\n if (!this.isStale(index)) {\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return v\n }\n\n // ok, it is stale, and not already fetching\n // refresh the cache.\n const p = this.backgroundFetch(k, index, options)\n return allowStale && p.__staleWhileFetching !== undefined\n ? p.__staleWhileFetching : p\n }\n }\n\n get (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n const value = this.valList[index]\n const fetching = this.isBackgroundFetch(value)\n if (this.isStale(index)) {\n // delete only if not an in-flight background fetch\n if (!fetching) {\n this.delete(k)\n return allowStale ? value : undefined\n } else {\n return allowStale ? value.__staleWhileFetching : undefined\n }\n } else {\n // if we're currently fetching it, we don't actually have it yet\n // it's not stale, which means this isn't a staleWhileRefetching,\n // so we just return undefined\n if (fetching) {\n return undefined\n }\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return value\n }\n }\n }\n\n connect (p, n) {\n this.prev[n] = p\n this.next[p] = n\n }\n\n moveToTail (index) {\n // if tail already, nothing to do\n // if head, move head to next[index]\n // else\n // move next[prev[index]] to next[index] (head has no prev)\n // move prev[next[index]] to prev[index]\n // prev[index] = tail\n // next[tail] = index\n // tail = index\n if (index !== this.tail) {\n if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.connect(this.prev[index], this.next[index])\n }\n this.connect(this.tail, index)\n this.tail = index\n }\n }\n\n get del () {\n deprecatedMethod('del', 'delete')\n return this.delete\n }\n delete (k) {\n let deleted = false\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n deleted = true\n if (this.size === 1) {\n this.clear()\n } else {\n this.removeItemSize(index)\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n this.keyMap.delete(k)\n this.keyList[index] = null\n this.valList[index] = null\n if (index === this.tail) {\n this.tail = this.prev[index]\n } else if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.next[this.prev[index]] = this.next[index]\n this.prev[this.next[index]] = this.prev[index]\n }\n this.size --\n this.free.push(index)\n }\n }\n }\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return deleted\n }\n\n clear () {\n for (const index of this.rindexes({ allowStale: true })) {\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n const k = this.keyList[index]\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n }\n\n this.keyMap.clear()\n this.valList.fill(null)\n this.keyList.fill(null)\n if (this.ttls) {\n this.ttls.fill(0)\n this.starts.fill(0)\n }\n if (this.sizes) {\n this.sizes.fill(0)\n }\n this.head = 0\n this.tail = 0\n this.initialFill = 1\n this.free.length = 0\n this.calculatedSize = 0\n this.size = 0\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n }\n get reset () {\n deprecatedMethod('reset', 'clear')\n return this.clear\n }\n\n get length () {\n deprecatedProperty('length', 'size')\n return this.size\n }\n}\n\nmodule.exports = LRUCache\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin))) {\n minver = setMin\n }\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst { ANY } = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let first = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max) {\n ranges.push(min)\n } else if (!max && min === v[0]) {\n ranges.push('*')\n } else if (!max) {\n ranges.push(`>=${min}`)\n } else if (min === v[0]) {\n ranges.push(`<=${max}`)\n } else {\n ranges.push(`${min} - ${max}`)\n }\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = [new Comparator('>=0.0.0-0')]\n } else {\n sub = [new Comparator('>=0.0.0')]\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = [new Comparator('>=0.0.0')]\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nvar crypto = require('crypto');\n\nmodule.exports = function nodeRNG() {\n return crypto.randomBytes(16);\n};\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n",null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.08b116bb.js\"))).then(() => parcelRequire('apy8x'));","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","module.exports = require('./lib/numerous.js');\n","(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n","'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n","'use strict';\nmodule.exports = /^#!(.*)/;\n","'use strict';\nconst shebangRegex = require('shebang-regex');\n\nmodule.exports = (string = '') => {\n\tconst match = string.match(shebangRegex);\n\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [path, argument] = match[0].replace(/#! ?/, '').split(' ');\n\tconst binary = path.split('/').pop();\n\n\tif (binary === 'env') {\n\t\treturn argument;\n\t}\n\n\treturn argument ? `${binary} ${argument}` : binary;\n};\n","'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n","'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n","'use strict';\n\nmodule.exports = input => {\n\tconst LF = typeof input === 'string' ? '\\n' : '\\n'.charCodeAt();\n\tconst CR = typeof input === 'string' ? '\\r' : '\\r'.charCodeAt();\n\n\tif (input[input.length - 1] === LF) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\treturn input;\n};\n","'use strict';\nconst path = require('path');\nconst pathKey = require('path-key');\n\nconst npmRunPath = options => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\tpath: process.env[pathKey()],\n\t\texecPath: process.execPath,\n\t\t...options\n\t};\n\n\tlet previous;\n\tlet cwdPath = path.resolve(options.cwd);\n\tconst result = [];\n\n\twhile (previous !== cwdPath) {\n\t\tresult.push(path.join(cwdPath, 'node_modules/.bin'));\n\t\tprevious = cwdPath;\n\t\tcwdPath = path.resolve(cwdPath, '..');\n\t}\n\n\t// Ensure the running `node` binary is used\n\tconst execPathDir = path.resolve(options.cwd, options.execPath, '..');\n\tresult.push(execPathDir);\n\n\treturn result.concat(options.path).join(path.delimiter);\n};\n\nmodule.exports = npmRunPath;\n// TODO: Remove this for the next major release\nmodule.exports.default = npmRunPath;\n\nmodule.exports.env = options => {\n\toptions = {\n\t\tenv: process.env,\n\t\t...options\n\t};\n\n\tconst env = {...options.env};\n\tconst path = pathKey({env});\n\n\toptions.path = env[path];\n\tenv[path] = module.exports(options);\n\n\treturn env;\n};\n","'use strict';\n\nconst mimicFn = (to, from) => {\n\tfor (const prop of Reflect.ownKeys(from)) {\n\t\tObject.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n\t}\n\n\treturn to;\n};\n\nmodule.exports = mimicFn;\n// TODO: Remove this for the next major release\nmodule.exports.default = mimicFn;\n","'use strict';\nconst mimicFn = require('mimic-fn');\n\nconst calledFunctions = new WeakMap();\n\nconst onetime = (function_, options = {}) => {\n\tif (typeof function_ !== 'function') {\n\t\tthrow new TypeError('Expected a function');\n\t}\n\n\tlet returnValue;\n\tlet callCount = 0;\n\tconst functionName = function_.displayName || function_.name || '';\n\n\tconst onetime = function (...arguments_) {\n\t\tcalledFunctions.set(onetime, ++callCount);\n\n\t\tif (callCount === 1) {\n\t\t\treturnValue = function_.apply(this, arguments_);\n\t\t\tfunction_ = null;\n\t\t} else if (options.throw === true) {\n\t\t\tthrow new Error(`Function \\`${functionName}\\` can only be called once`);\n\t\t}\n\n\t\treturn returnValue;\n\t};\n\n\tmimicFn(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nmodule.exports = onetime;\n// TODO: Remove this for the next major release\nmodule.exports.default = onetime;\n\nmodule.exports.callCount = function_ => {\n\tif (!calledFunctions.has(function_)) {\n\t\tthrow new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n\t}\n\n\treturn calledFunctions.get(function_);\n};\n","import { constants } from 'os'\n\nimport { getSignals } from './signals.js'\nimport { SIGRTMAX } from './realtime.js'\n\n// Retrieve `signalsByName`, an object mapping signal name to signal properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByName = function() {\n const signals = getSignals()\n return signals.reduce(getSignalByName, {})\n}\n\nconst getSignalByName = function(\n signalByNameMemo,\n { name, number, description, supported, action, forced, standard },\n) {\n return {\n ...signalByNameMemo,\n [name]: { name, number, description, supported, action, forced, standard },\n }\n}\n\nexport const signalsByName = getSignalsByName()\n\n// Retrieve `signalsByNumber`, an object mapping signal number to signal\n// properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByNumber = function() {\n const signals = getSignals()\n const length = SIGRTMAX + 1\n const signalsA = Array.from({ length }, (value, number) =>\n getSignalByNumber(number, signals),\n )\n return Object.assign({}, ...signalsA)\n}\n\nconst getSignalByNumber = function(number, signals) {\n const signal = findSignalByNumber(number, signals)\n\n if (signal === undefined) {\n return {}\n }\n\n const { name, description, supported, action, forced, standard } = signal\n return {\n [number]: {\n name,\n number,\n description,\n supported,\n action,\n forced,\n standard,\n },\n }\n}\n\n// Several signals might end up sharing the same number because of OS-specific\n// numbers, in which case those prevail.\nconst findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name }) => constants.signals[name] === number)\n\n if (signal !== undefined) {\n return signal\n }\n\n return signals.find(signalA => signalA.number === number)\n}\n\nexport const signalsByNumber = getSignalsByNumber()\n","import { constants } from 'os'\n\nimport { SIGNALS } from './core.js'\nimport { getRealtimeSignals } from './realtime.js'\n\n// Retrieve list of know signals (including realtime) with information about\n// them\nexport const getSignals = function() {\n const realtimeSignals = getRealtimeSignals()\n const signals = [...SIGNALS, ...realtimeSignals].map(normalizeSignal)\n return signals\n}\n\n// Normalize signal:\n// - `number`: signal numbers are OS-specific. This is taken into account by\n// `os.constants.signals`. However we provide a default `number` since some\n// signals are not defined for some OS.\n// - `forced`: set default to `false`\n// - `supported`: set value\nconst normalizeSignal = function({\n name,\n number: defaultNumber,\n description,\n action,\n forced = false,\n standard,\n}) {\n const {\n signals: { [name]: constantSignal },\n } = constants\n const supported = constantSignal !== undefined\n const number = supported ? constantSignal : defaultNumber\n return { name, number, description, supported, action, forced, standard }\n}\n","/* eslint-disable max-lines */\n// List of known process signals with information about them\nexport const SIGNALS = [\n {\n name: 'SIGHUP',\n number: 1,\n action: 'terminate',\n description: 'Terminal closed',\n standard: 'posix',\n },\n {\n name: 'SIGINT',\n number: 2,\n action: 'terminate',\n description: 'User interruption with CTRL-C',\n standard: 'ansi',\n },\n {\n name: 'SIGQUIT',\n number: 3,\n action: 'core',\n description: 'User interruption with CTRL-\\\\',\n standard: 'posix',\n },\n {\n name: 'SIGILL',\n number: 4,\n action: 'core',\n description: 'Invalid machine instruction',\n standard: 'ansi',\n },\n {\n name: 'SIGTRAP',\n number: 5,\n action: 'core',\n description: 'Debugger breakpoint',\n standard: 'posix',\n },\n {\n name: 'SIGABRT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'ansi',\n },\n {\n name: 'SIGIOT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'bsd',\n },\n {\n name: 'SIGBUS',\n number: 7,\n action: 'core',\n description:\n 'Bus error due to misaligned, non-existing address or paging error',\n standard: 'bsd',\n },\n {\n name: 'SIGEMT',\n number: 7,\n action: 'terminate',\n description: 'Command should be emulated but is not implemented',\n standard: 'other',\n },\n {\n name: 'SIGFPE',\n number: 8,\n action: 'core',\n description: 'Floating point arithmetic error',\n standard: 'ansi',\n },\n {\n name: 'SIGKILL',\n number: 9,\n action: 'terminate',\n description: 'Forced termination',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGUSR1',\n number: 10,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGSEGV',\n number: 11,\n action: 'core',\n description: 'Segmentation fault',\n standard: 'ansi',\n },\n {\n name: 'SIGUSR2',\n number: 12,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGPIPE',\n number: 13,\n action: 'terminate',\n description: 'Broken pipe or socket',\n standard: 'posix',\n },\n {\n name: 'SIGALRM',\n number: 14,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'posix',\n },\n {\n name: 'SIGTERM',\n number: 15,\n action: 'terminate',\n description: 'Termination',\n standard: 'ansi',\n },\n {\n name: 'SIGSTKFLT',\n number: 16,\n action: 'terminate',\n description: 'Stack is empty or overflowed',\n standard: 'other',\n },\n {\n name: 'SIGCHLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'posix',\n },\n {\n name: 'SIGCLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'other',\n },\n {\n name: 'SIGCONT',\n number: 18,\n action: 'unpause',\n description: 'Unpaused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGSTOP',\n number: 19,\n action: 'pause',\n description: 'Paused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGTSTP',\n number: 20,\n action: 'pause',\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: 'posix',\n },\n {\n name: 'SIGTTIN',\n number: 21,\n action: 'pause',\n description: 'Background process cannot read terminal input',\n standard: 'posix',\n },\n {\n name: 'SIGBREAK',\n number: 21,\n action: 'terminate',\n description: 'User interruption with CTRL-BREAK',\n standard: 'other',\n },\n {\n name: 'SIGTTOU',\n number: 22,\n action: 'pause',\n description: 'Background process cannot write to terminal output',\n standard: 'posix',\n },\n {\n name: 'SIGURG',\n number: 23,\n action: 'ignore',\n description: 'Socket received out-of-band data',\n standard: 'bsd',\n },\n {\n name: 'SIGXCPU',\n number: 24,\n action: 'core',\n description: 'Process timed out',\n standard: 'bsd',\n },\n {\n name: 'SIGXFSZ',\n number: 25,\n action: 'core',\n description: 'File too big',\n standard: 'bsd',\n },\n {\n name: 'SIGVTALRM',\n number: 26,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGPROF',\n number: 27,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGWINCH',\n number: 28,\n action: 'ignore',\n description: 'Terminal window size changed',\n standard: 'bsd',\n },\n {\n name: 'SIGIO',\n number: 29,\n action: 'terminate',\n description: 'I/O is available',\n standard: 'other',\n },\n {\n name: 'SIGPOLL',\n number: 29,\n action: 'terminate',\n description: 'Watched event',\n standard: 'other',\n },\n {\n name: 'SIGINFO',\n number: 29,\n action: 'ignore',\n description: 'Request for process information',\n standard: 'other',\n },\n {\n name: 'SIGPWR',\n number: 30,\n action: 'terminate',\n description: 'Device running out of power',\n standard: 'systemv',\n },\n {\n name: 'SIGSYS',\n number: 31,\n action: 'core',\n description: 'Invalid system call',\n standard: 'other',\n },\n {\n name: 'SIGUNUSED',\n number: 31,\n action: 'terminate',\n description: 'Invalid system call',\n standard: 'other',\n },\n]\n/* eslint-enable max-lines */\n","// List of realtime signals with information about them\nexport const getRealtimeSignals = function() {\n const length = SIGRTMAX - SIGRTMIN + 1\n return Array.from({ length }, getRealtimeSignal)\n}\n\nconst getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: SIGRTMIN + index,\n action: 'terminate',\n description: 'Application-specific signal (realtime)',\n standard: 'posix',\n }\n}\n\nconst SIGRTMIN = 34\nexport const SIGRTMAX = 64\n","'use strict';\nconst {signalsByName} = require('human-signals');\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nconst makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}}\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n\nmodule.exports = makeError;\n","'use strict';\nconst aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nconst normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\nmodule.exports = normalizeStdio;\n\n// `ipc` is pushed unless it is already present\nmodule.exports.node = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { : , ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","'use strict';\nconst os = require('os');\nconst onExit = require('signal-exit');\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst spawnedKill = (kill, signal = 'SIGTERM', options = {}) => {\n\tconst killResult = kill(signal);\n\tsetKillTimeout(kill, signal, options, killResult);\n\treturn killResult;\n};\n\nconst setKillTimeout = (kill, signal, options, killResult) => {\n\tif (!shouldForceKill(signal, options, killResult)) {\n\t\treturn;\n\t}\n\n\tconst timeout = getForceKillAfterTimeout(options);\n\tconst t = setTimeout(() => {\n\t\tkill('SIGKILL');\n\t}, timeout);\n\n\t// Guarded because there's no `.unref()` when `execa` is used in the renderer\n\t// process in Electron. This cannot be tested since we don't run tests in\n\t// Electron.\n\t// istanbul ignore else\n\tif (t.unref) {\n\t\tt.unref();\n\t}\n};\n\nconst shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => {\n\treturn isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\n\nconst isSigterm = signal => {\n\treturn signal === os.constants.signals.SIGTERM ||\n\t\t(typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\n};\n\nconst getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => {\n\tif (forceKillAfterTimeout === true) {\n\t\treturn DEFAULT_FORCE_KILL_TIMEOUT;\n\t}\n\n\tif (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n\t\tthrow new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n\t}\n\n\treturn forceKillAfterTimeout;\n};\n\n// `childProcess.cancel()`\nconst spawnedCancel = (spawned, context) => {\n\tconst killResult = spawned.kill();\n\n\tif (killResult) {\n\t\tcontext.isCanceled = true;\n\t}\n};\n\nconst timeoutKill = (spawned, signal, reject) => {\n\tspawned.kill(signal);\n\treject(Object.assign(new Error('Timed out'), {timedOut: true, signal}));\n};\n\n// `timeout` option handling\nconst setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => {\n\tif (timeout === 0 || timeout === undefined) {\n\t\treturn spawnedPromise;\n\t}\n\n\tlet timeoutId;\n\tconst timeoutPromise = new Promise((resolve, reject) => {\n\t\ttimeoutId = setTimeout(() => {\n\t\t\ttimeoutKill(spawned, killSignal, reject);\n\t\t}, timeout);\n\t});\n\n\tconst safeSpawnedPromise = spawnedPromise.finally(() => {\n\t\tclearTimeout(timeoutId);\n\t});\n\n\treturn Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\n\nconst validateTimeout = ({timeout}) => {\n\tif (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {\n\t\tthrow new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n\t}\n};\n\n// `cleanup` option handling\nconst setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => {\n\tif (!cleanup || detached) {\n\t\treturn timedPromise;\n\t}\n\n\tconst removeExitHandler = onExit(() => {\n\t\tspawned.kill();\n\t});\n\n\treturn timedPromise.finally(() => {\n\t\tremoveExitHandler();\n\t});\n};\n\nmodule.exports = {\n\tspawnedKill,\n\tspawnedCancel,\n\tsetupTimeout,\n\tvalidateTimeout,\n\tsetExitHandler\n};\n","'use strict';\nconst path = require('path');\nconst childProcess = require('child_process');\nconst crossSpawn = require('cross-spawn');\nconst stripFinalNewline = require('strip-final-newline');\nconst npmRunPath = require('npm-run-path');\nconst onetime = require('onetime');\nconst makeError = require('./lib/error');\nconst normalizeStdio = require('./lib/stdio');\nconst {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} = require('./lib/kill');\nconst {handleInput, getSpawnedResult, makeAllStream, validateInputSync} = require('./lib/stream');\nconst {mergePromise, getSpawnedPromise} = require('./lib/promise');\nconst {joinCommand, parseCommand, getEscapedCommand} = require('./lib/command');\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPath.env({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\t...options\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nconst execa = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t}));\n\t\treturn mergePromise(dummySpawned, errorPromise);\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled,\n\t\t\t\tkilled: spawned.killed\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options.input);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\treturn mergePromise(spawned, handlePromiseOnce);\n};\n\nmodule.exports = execa;\n\nmodule.exports.sync = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false\n\t};\n};\n\nmodule.exports.command = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n};\n\nmodule.exports.commandSync = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa.sync(file, args, options);\n};\n\nmodule.exports.node = (scriptPath, args, options = {}) => {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdio.node(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : [])\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false\n\t\t}\n\t);\n};\n","'use strict';\n\nconst isStream = stream =>\n\tstream !== null &&\n\ttypeof stream === 'object' &&\n\ttypeof stream.pipe === 'function';\n\nisStream.writable = stream =>\n\tisStream(stream) &&\n\tstream.writable !== false &&\n\ttypeof stream._write === 'function' &&\n\ttypeof stream._writableState === 'object';\n\nisStream.readable = stream =>\n\tisStream(stream) &&\n\tstream.readable !== false &&\n\ttypeof stream._read === 'function' &&\n\ttypeof stream._readableState === 'object';\n\nisStream.duplex = stream =>\n\tisStream.writable(stream) &&\n\tisStream.readable(stream);\n\nisStream.transform = stream =>\n\tisStream.duplex(stream) &&\n\ttypeof stream._transform === 'function';\n\nmodule.exports = isStream;\n","'use strict';\nconst {PassThrough: PassThroughStream} = require('stream');\n\nmodule.exports = options => {\n\toptions = {...options};\n\n\tconst {array} = options;\n\tlet {encoding} = options;\n\tconst isBuffer = encoding === 'buffer';\n\tlet objectMode = false;\n\n\tif (array) {\n\t\tobjectMode = !(encoding || isBuffer);\n\t} else {\n\t\tencoding = encoding || 'utf8';\n\t}\n\n\tif (isBuffer) {\n\t\tencoding = null;\n\t}\n\n\tconst stream = new PassThroughStream({objectMode});\n\n\tif (encoding) {\n\t\tstream.setEncoding(encoding);\n\t}\n\n\tlet length = 0;\n\tconst chunks = [];\n\n\tstream.on('data', chunk => {\n\t\tchunks.push(chunk);\n\n\t\tif (objectMode) {\n\t\t\tlength = chunks.length;\n\t\t} else {\n\t\t\tlength += chunk.length;\n\t\t}\n\t});\n\n\tstream.getBufferedValue = () => {\n\t\tif (array) {\n\t\t\treturn chunks;\n\t\t}\n\n\t\treturn isBuffer ? Buffer.concat(chunks, length) : chunks.join('');\n\t};\n\n\tstream.getBufferedLength = () => length;\n\n\treturn stream;\n};\n","'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n","'use strict';\nconst isStream = require('is-stream');\nconst getStream = require('get-stream');\nconst mergeStream = require('merge-stream');\n\n// `input` option\nconst handleInput = (spawned, input) => {\n\t// Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n\t// @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n\tif (input === undefined || spawned.stdin === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nconst makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\tif (!stream) {\n\t\treturn;\n\t}\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\tif (encoding) {\n\t\treturn getStream(stream, {encoding, maxBuffer});\n\t}\n\n\treturn getStream.buffer(stream, {maxBuffer});\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise)\n\t\t]);\n\t}\n};\n\nconst validateInputSync = ({input}) => {\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n};\n\nmodule.exports = {\n\thandleInput,\n\tmakeAllStream,\n\tgetSpawnedResult,\n\tvalidateInputSync\n};\n\n","'use strict';\n\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property)\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nconst mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function' ?\n\t\t\t(...args) => Reflect.apply(descriptor.value, promise(), args) :\n\t\t\tdescriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n\n\treturn spawned;\n};\n\n// Use promises instead of `child_process` events\nconst getSpawnedPromise = spawned => {\n\treturn new Promise((resolve, reject) => {\n\t\tspawned.on('exit', (exitCode, signal) => {\n\t\t\tresolve({exitCode, signal});\n\t\t});\n\n\t\tspawned.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\n\t\tif (spawned.stdin) {\n\t\t\tspawned.stdin.on('error', error => {\n\t\t\t\treject(error);\n\t\t\t});\n\t\t}\n\t});\n};\n\nmodule.exports = {\n\tmergePromise,\n\tgetSpawnedPromise\n};\n\n","'use strict';\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nconst joinCommand = (file, args) => {\n\treturn normalizeArgs(file, args).join(' ');\n};\n\nconst getEscapedCommand = (file, args) => {\n\treturn normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n};\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execa.command()`\nconst parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nmodule.exports = {\n\tjoinCommand,\n\tgetEscapedCommand,\n\tparseCommand\n};\n","'use strict';\nconst os = require('os');\n\nconst homeDirectory = os.homedir();\n\nmodule.exports = pathWithTilde => {\n\tif (typeof pathWithTilde !== 'string') {\n\t\tthrow new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n\t}\n\n\treturn homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, homeDirectory) : pathWithTilde;\n};\n","const os = require(\"os\");\n\n// to detect on with os user had used path.resolve(...)\nconst is_posix_os = (os.platform() !== \"win32\");\nconst version = os.release();\n\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\n// https://docs.microsoft.com/en-us/windows/release-information/\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n\nmodule.exports = function (given_path) {\n return (is_posix_os)\n // for posix path, escape is simple\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\n // for windows, it depend of the build\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\n // on major version, no need to escape anymore\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\n ? given_path\n // on older version, replace space with symbol %20\n : given_path.replace(/(\\s+)/g, '%20');\n};",null,null,null,"\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map","import execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname, join, addShExt, addShRelativePrefix } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { notice } from \"ci-log\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { giveUserAccess } from \"user-access\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(_version: string, setupDir: string, _arch: string): Promise {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"curl\")\n setupPacmanPack(\"zip\")\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"git\")\n setupPacmanPack(\"pkg-config\")\n } else if (hasDnf()) {\n setupDnfPack(\"curl\")\n setupDnfPack(\"zip\")\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"git\")\n setupDnfPack(\"pkg-config\")\n } else if (isUbuntu()) {\n await setupAptPack(\"curl\")\n await setupAptPack(\"zip\")\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"git\")\n await setupAptPack(\"pkg-config\")\n }\n }\n\n if (!existsSync(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\")))) {\n execa.sync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`)\n }\n\n execa.sync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n giveUserAccess(setupDir)\n\n await addPath(setupDir)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { dirname } from \"patha\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\nimport { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://github.com/volitank/nala#-installation\n const keyFileName = await addAptKeyViaDownload(\n \"volian-archive-scar-unstable.gpg\",\n \"https://deb.volian.org/volian/scar.key\"\n )\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ scar main\" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`,\n ])\n\n try {\n if (version !== \"legacy\") {\n await setupAptPack(\"nala\", undefined, [], true)\n } else {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n } catch (err) {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n","import { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return setupBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n setupDnfPack(\"dnf-plugins-core\", undefined)\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack(\"bazel4\", undefined)\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaDownload(\n \"bazel-archive-keyring.gpg\",\n \"https://bazel.build/bazel-release.pub.gpg\"\n )\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return setupAptPack(\"bazel\", version, [], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n await setupPipPack(\"setuptools\", \"\")\n return setupPipPack(\"conan\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershell(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"powershell-core\", version)\n const binDir = \"C:/Program Files/PowerShell/7\"\n await addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"powershell\", version, [\"--cask\"])\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"powershell-bin\", version, \"yay\")\n } else if (hasDnf()) {\n setupDnfPack(\"curl\")\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo`,\n ])\n return setupDnfPack(\"powershell\", version)\n } else if (isUbuntu()) {\n await setupAptPack(\"curl\")\n const ubuntuVerSplitted = (await ubuntuVersion())!\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`\n\n execRootSync(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`,\n ])\n execRootSync(\"dpkg\", [\"-i\", \"packages-microsoft-prod.deb\"])\n\n // TODO Debian\n // const keyFileName = await addAptKeyViaDownload(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n\n return setupAptPack(\"powershell\", version, [], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"ccache\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"cppcheck\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n setupBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\")\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"make\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"make\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n"],"names":["$1d8d028d9c47b73d$var$isexe","path","options","cb","Promise","TypeError","resolve","reject","er","is","$1d8d028d9c47b73d$var$core","code","ignoreErrors","$b50fe22cd1c82159$export$c5eeb9c87a610a0e","_version","_setupDir","_arch","includes","process","platform","$b50fe22cd1c82159$var$binDir","maybeBinDir","$parcel$interopDefault","$4ca03dc05bbe4be0$exports","sync","nothrow","$6XIgB","dirname","$dLzlS$child_process","execFileSync","stdio","$51d58653c6048ffd$var$resolveCommandAttempt","parsed","withoutPathExt","env","cwd","hasCustomCwd","shouldSwitchCwd","undefined","chdir","disabled","err","resolved","command","$e9929770d50e0ca3$exports","pathExt","$dLzlS$path","delimiter","e","$cee8c79eb01cd876$var$notFoundError","original","syscall","Object","assign","Error","errno","spawnargs","args","$cee8c79eb01cd876$var$verifyENOENT","status","$cee8c79eb01cd876$var$isWin","file","$338cd3297632d74f$var$spawn","$9cf15e4f01e764e1$exports","spawned","spawn","$cee8c79eb01cd876$exports","hookChildProcess","async","$3f8980e86d9447d4$var$getStream","inputStream","maxBuffer","Infinity","stream","$2791e057b208c733$exports","rejectPromise","error","getBufferedLength","$3f8980e86d9447d4$require$BufferConstants","MAX_LENGTH","bufferedData","getBufferedValue","$3f8980e86d9447d4$var$streamPipelinePromisified","on","$3f8980e86d9447d4$var$MaxBufferError","$373ec10beb4d7153$export$316200228f28b8ce","CI","ref","getuid","call","$373ec10beb4d7153$export$58f152936f209932","program","execOptions","shell","$c3e9e2f843627429$exports","commandSync","map","arg","join","$3f4c9366e55e0917$export$8312d9eeba321950","SUDO_USER","$a7308743a0157ada$exports","$6e1462338680af59$export$43324456a02f71b0","startupFlags","$6e1462338680af59$var$powershell","maybePwsh","maybePowerShell","$6e1462338680af59$export$4dfdd3964d242d20","$7bb732a40a25bec4$export$f63d3080ce25e0fd","name","valGiven","shouldEscapeSpace","val","$892cf68de9d02605$exports","$gmbrv","$enS5B","exportVariable","$pcnv8","$7bb732a40a25bec4$var$addEnvSystem","err1","setFailed","$7bb732a40a25bec4$export$4c25481b843feb0b","PATH","addPath","$7bb732a40a25bec4$var$addPathSystem","info","$7bb732a40a25bec4$export$bd1dffd792f43c41","$dLzlS$fs","appendFileSync","$7bb732a40a25bec4$export$1bbbc3a810c5799d","$7bb732a40a25bec4$var$setupCppInProfile_called","source_cpprc_str","existsSync","readFileSync","source_cpprc_string","profile_path","bashrc_path","warning","$b264a6d5b746ae82$export$d73dc343f5abf26","version","repositories","update","apt","$b264a6d5b746ae82$var$getApt","DEBIAN_FRONTEND","$b264a6d5b746ae82$var$didUpdate","$b264a6d5b746ae82$var$updateRepos","$b264a6d5b746ae82$var$didInit","$b264a6d5b746ae82$export$11aa10c05ada0934","$b264a6d5b746ae82$var$initApt","Array","isArray","length","repo","binDir","$b264a6d5b746ae82$var$initGpg","keys","server","fileName","key","$b264a6d5b746ae82$export$7fb1a688af1305f0","url","$b264a6d5b746ae82$export$6fe6436bd9f53d02","$debaf44f90dd37c4$export$cfa75578ee2d6e6c","aur","pacman","$debaf44f90dd37c4$var$didUpdate","$debaf44f90dd37c4$var$didInit","$57c286cd21b83a3a$export$ce5d13d8a85cb784","extraArgs","$57c286cd21b83a3a$var$hasBrew","$8937fb0e5906a8f2$export$b804d731cdad7ef9","$8937fb0e5906a8f2$var$binDir","powershell","SystemRoot","chocoPath","ALLUSERSPROFILE","maybeChoco","_ChocolateyInstall","ChocolateyInstall","$a1d9f9e35ead513b$export$9f6912bc890040b2","$a1d9f9e35ead513b$var$hasChoco","TMP","TEMP","Path","extendEnv","message","notice","$c4b56061e0dbde5f$export$d415ddb6702ec3a2","$c4b56061e0dbde5f$var$isArchCache","$cbc3e193f1217bd7$export$8ce8b4b22331a8c7","$cbc3e193f1217bd7$var$hasDnfCache","$d6741ec1214892d9$export$49d4f9ba8e0dd34f","dnf","$0f4e7dc450142f89$export$da8baf1d6c6802b6","$0f4e7dc450142f89$var$isUbuntuCache","$fb82248e8974c296$export$5fc39629e14c8173","$aa67f233b2c242f1$export$f9a3d10eb7c735af","$2032c186687979ea$var$findAllVersions","toolName","arch","versions","$2032c186687979ea$var$os","toolPath","$2032c186687979ea$var$path","$2032c186687979ea$var$_getCacheDirectory","$2032c186687979ea$var$fs","children","readdirSync","child","$2032c186687979ea$var$isExplicitVersion","fullPath","push","$2032c186687979ea$var$_createExtractFolder","dest","$2032c186687979ea$var$_getTempDirectory","$2032c186687979ea$var$v4_1","default","$2032c186687979ea$var$io","mkdirP","$2032c186687979ea$var$_createToolPath","tool","folderPath","$2032c186687979ea$var$semver","clean","$2032c186687979ea$var$core","debug","markerPath","rmRF","$2032c186687979ea$var$_completeToolPath","writeFileSync","versionSpec","c","valid","$2032c186687979ea$var$evaluateVersions","i","sort","a","b","gt","potential","satisfies","cacheDirectory","$dLzlS$assert","ok","tempDirectory","$2032c186687979ea$var$_getGlobal","defaultValue","value","$parcel$global","$d07bf20a0d39a78b$export$eecfe186811d4a20","$d07bf20a0d39a78b$var$sevenZip","$d07bf20a0d39a78b$var$getSevenZip","$d07bf20a0d39a78b$export$7949938b2681a4f0","$d07bf20a0d39a78b$export$6411c5cbab21135b","$d07bf20a0d39a78b$export$2ab07ac150064014","flags","$fvrnx","$5378b225b5c95af5$export$334f77c9844c21f6","getPackageInfo","setupDir","_RUNNER_TEMP","_RUNNER_TOOL_CACHE","RUNNER_TEMP","$dLzlS$os","tmpdir","RUNNER_TOOL_CACHE","binRelativeDir","binFileName","extractedFolderName","extractFunction","dir","$2032c186687979ea$exports","find","installDir","installDir1","binDir1","binFile","$5378b225b5c95af5$var$didInit","downloaded","downloadTool","cacheDir","$fee36361a2bad308$var$getTaskPackageInfo","taskPlatform","$fee36361a2bad308$var$getTaskPlatform","taskArch","$fee36361a2bad308$var$getTaskArch","isZip","extension","addExeExt","$775e54fd09f86a26$var$getCmakePackageInfo","semVersion","$1YYsi","isOld","$fwsB7","osArchStr","folderName","folderName1","extractTar","isOld2","osArchStr2","folderName2","$775e54fd09f86a26$export$c28663a621f418ce","$644ae3dba93653dd$export$2b0b68e9df3d4a02","$644ae3dba93653dd$export$33cd96f062979ce0","setupActionsPython","parcelRequire","ref1","pythonBinPath","pythonSetupDir","$644ae3dba93653dd$var$activateWinPython","installInfo","$916a385c4d46b771$var$requestWorks","method","req","$dLzlS$https","request","result","statusCode","$916a385c4d46b771$var$isStatusOK","_error","end","$788ba5c4da878b74$export$deb1064c8260c54c","semversion","from","filter","v","test","startsWith","reverse","$68635a7be6556a7e$export$c506eb22e615ba4a","osVersion","$68635a7be6556a7e$var$useDefault","$68635a7be6556a7e$var$DefaultUbuntuVersion","osVersionMaj","parseInt","$68635a7be6556a7e$var$DefaultVersions","$725285b1d6baf678$export$4020cb77ffa3ffac","$725285b1d6baf678$var$python","givenFile","targetVersion","versionRegex","$788ba5c4da878b74$export$d7ab5e2d33b06cd5","givenVersion","execout","$ca0ts","getExecOutput","stdout","stderr","trim","match","console","$788ba5c4da878b74$export$5b54ecc7386538f","$howpO","$725285b1d6baf678$var$tried","$725285b1d6baf678$var$binDir","$b19dce7371463457$export$b885bd977caaafb9","$b19dce7371463457$var$activateGraphviz","$9f276bb1312a9d71$var$getDoxygenPackageInfo","$89d2131bb8f4aa1b$export$28f5fd35e3005b7a","xcrun","sdkroot","$9c01b612305c09a3$var$getGccPackageInfo","mingwInfo","$9c01b612305c09a3$var$GccToMingwInfo","mingwArch","exceptionModel","releaseName","fileSuffix","$9c01b612305c09a3$export$405fab3de79b77b","installationInfo","_ChocolateyInstall1","$9c01b612305c09a3$var$setupChocoMingw","promises","majorVersion","$fB2B7","matcherPath","$9c01b612305c09a3$var$$parcel$__dirname","$9c01b612305c09a3$var$addGccLoggingMatcher","all","$9c01b612305c09a3$var$activateGcc","$2cacaea738b8f1ae$var$getGitHubUrl","prefix","suffix","$2cacaea738b8f1ae$var$getReleaseUrl","$2cacaea738b8f1ae$export$94df0e59ebebf4a7","$2cacaea738b8f1ae$var$DARWIN_MISSING","has","$2cacaea738b8f1ae$var$getDarwinUrl","versionGiven","rc","$2cacaea738b8f1ae$var$UBUNTU_RC","get","ubuntu","givenUbuntuVersion","replace","$2cacaea738b8f1ae$export$aa5307f1aca77413","$2cacaea738b8f1ae$var$UBUNTU_SUFFIX_MAP","$2cacaea738b8f1ae$export$ae24f9682a44836b","$2cacaea738b8f1ae$var$WIN32_MISSING","olderThan9_1","fallback","$916a385c4d46b771$export$61e6a71eee2b02f9","$2cacaea738b8f1ae$var$getWin32Url","$2cacaea738b8f1ae$var$getLLVMPackageInfo","specificVersion","getUrl","url1","setOutput","$2cacaea738b8f1ae$export$3016de7ae9d14988","$2cacaea738b8f1ae$var$_setupLLVM","_installDir","directory","$fVzwP","coercedVersion","lib","_LD_LIBRARY_PATH","ld","LD_LIBRARY_PATH","_DYLD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","llvmMajor","$2cacaea738b8f1ae$var$addLLVMLoggingMatcher","$2cacaea738b8f1ae$export$6238b5ebfd6640e7","$2cacaea738b8f1ae$var$didInit","$2cacaea738b8f1ae$export$814ccfc953503728","$2cacaea738b8f1ae$var$$parcel$__dirname","$dcc4a5600f9a2a29$var$issueCommand","properties","cmd","$dcc4a5600f9a2a29$var$Command","write","$dcc4a5600f9a2a29$var$os","EOL","$d2814cb4b08c0425$var$error","$dcc4a5600f9a2a29$exports","issue","$d2814cb4b08c0425$var$startGroup","$d2814cb4b08c0425$var$endGroup","$44e2ea7eee739a17$var$vsversion_to_versionnumber","vsversion","values","$44e2ea7eee739a17$var$VsYearVersion","$44e2ea7eee739a17$var$vsversion_to_year","year","ver","entries","$44e2ea7eee739a17$var$findVcvarsall","vsversion_number","version_pattern","upper_bound","split","pattern","execSync","installationPath","$d2814cb4b08c0425$exports","$44e2ea7eee739a17$var$findWithVswhere","years","$44e2ea7eee739a17$var$YEARS","prog_files","$44e2ea7eee739a17$var$PROGRAM_FILES","ed","$44e2ea7eee739a17$var$EDITIONS","$44e2ea7eee739a17$var$PROGRAM_FILES_X86","$28a0179cccdfc4cc$export$5dcf571c91fc8369","VCTargetsPath","toolset","sdk","uwp","spectre","$44e2ea7eee739a17$export$443b8bb890f5027e","$28a0179cccdfc4cc$var$getArch","$da99583472da45a4$export$a91ef0362c1a7298","$44e2ea7eee739a17$export$3c7cae5a162b1458","installed","vcvarsall_path","$44e2ea7eee739a17$export$a6a3bfb882356813","$da99583472da45a4$var$$parcel$__dirname","$da99583472da45a4$var$addMSVCLoggingMatcher","$9bc35ceb5b751351$var$getNinjaPackageInfo","ninjaPlatform","$9bc35ceb5b751351$var$getNinjaPlatform","$9bc35ceb5b751351$export$e6190f4bfe2ef71","$4012ecb407fc2f3d$var$toArr","any","$4012ecb407fc2f3d$var$toVal","out","opts","x","old","nxt","string","indexOf","String","boolean","_","concat","$f8e04f7ec4392c59$export$49c9cf1111dfa0ee","versionSplitted","$f095436a84b3b121$exports","getUbuntuVersion","$227396c887da582e$var$getDownloadKcovPackageInfo","$227396c887da582e$var$getBuildKcovPackageInfo","$227396c887da582e$var$buildKcov","cmake","$227396c887da582e$var$getCmake","buildDir","$ff26fdfb9b4deeb1$export$f22da7240b7add18","ACTIONS_ALLOW_UNSECURE_COMMANDS","$ff26fdfb9b4deeb1$export$7300a92932ee17a3","_architecture","help","architecture","_SETUP_CPP_DIR","setupCppDir","SETUP_CPP_DIR","successMessages","errorMessages","timeFormatter","$a6c8cb5c76e7e4f4$exports","create","autoloadLocales","time1","time2","addLocale","$21a9c7af84658271$exports","$5FRs7","$6dfec0551895c67b$exports","tools","otherTools","slice","i_other","otherTool","$ff26fdfb9b4deeb1$var$tools","Date","now","startGroup","setupFunction","$ff26fdfb9b4deeb1$var$setups","$ff26fdfb9b4deeb1$var$getSuccessMessage","endGroup","format","maybeCompiler","compiler","version1","$ff26fdfb9b4deeb1$export$588248dee5258836","installationInfo1","installationInfo2","installationInfo3","e1","forEach","success","k","arr","j","idx","len","alibi","alias","strict","unknown","defaults","splice","charCodeAt","substring","repeat","shift","$ff26fdfb9b4deeb1$var$inputs","fromEntries","inp","$ff26fdfb9b4deeb1$var$maybeGetInput","h","compilerAndMaybeVersion","maybeVersion","getInput","toLowerCase","msg","$a78d2bb460f39425$var$getInput","toUpperCase","required","trimWhitespace","$a78d2bb460f39425$var$error","$BN3hS","issueCommand","$1gUXU","toCommandProperties","$a78d2bb460f39425$var$startGroup","$a78d2bb460f39425$var$endGroup","$a78d2bb460f39425$var$os","$a78d2bb460f39425$var$__importStar","$a78d2bb460f39425$var$path","$a78d2bb460f39425$var$ExitCode","ExitCode","module","exports","convertedVal","toCommandValue","$bTj1Z","$ggfP6","setSecret","secret","inputPath","getMultilineInput","getBooleanInput","setCommandEcho","enabled","exitCode","Failure","isDebug","group","fn","saveState","getState","getIDToken","aud","$69Mk5","OidcClient","defineProperty","enumerable","$9tSJs","summary","markdownSummary","$k6K8l","toPosixPath","toWin32Path","toPlatformPath","$0719818684548af4$var$issueCommand","$0719818684548af4$var$Command","$0719818684548af4$var$os","$0719818684548af4$var$__importStar","constructor","this","toString","cmdStr","first","hasOwnProperty","s","$0719818684548af4$var$escapeData","input","JSON","stringify","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","$bd6a6a1b8d71d8cf$var$fs","$bd6a6a1b8d71d8cf$var$__importStar","$bd6a6a1b8d71d8cf$var$os","filePath","encoding","$5x7Ba","$8a8397ee6cc823a0$export$2e2bcd8739ae039","buf","offset","rnds","random","rng","$FUqvx","$4075edb944572faa$export$2e2bcd8739ae039","$4075edb944572faa$var$poolPtr","$4075edb944572faa$var$rnds8Pool","$dLzlS$crypto","randomFillSync","Uint8Array","$kYWmF","$07df999606202400$var$byteToHex","substr","$07df999606202400$export$2e2bcd8739ae039","uuid","$1J9r9","$f466af365406a0ad$export$2e2bcd8739ae039","$1421506621ec4ca3$export$2e2bcd8739ae039","$47b9114ce5224c2f$var$OidcClient","static","allowRetry","maxRetry","requestOptions","allowRetries","maxRetries","$4z9RF","HttpClient","$7v249","BearerCredentialHandler","getRequestToken","token","runtimeUrl","id_token_url","httpclient","createHttpClient","res","getJson","catch","id_token","_a","audience","getIDTokenUrl","encodeURIComponent","getCall","$3532153250d0a8c3$var$http","$3532153250d0a8c3$var$__importStar","$dLzlS$http","$3532153250d0a8c3$var$https","$3532153250d0a8c3$var$pm","$3532153250d0a8c3$var$tunnel","$3532153250d0a8c3$var$HttpCodes","HttpCodes","$3532153250d0a8c3$var$Headers","Headers","$3532153250d0a8c3$var$MediaTypes","MediaTypes","getProxyUrl","serverUrl","proxyUrl","URL","href","$3532153250d0a8c3$var$HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","$3532153250d0a8c3$var$HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","$3532153250d0a8c3$var$RetryableHttpVerbs","$3532153250d0a8c3$var$HttpClientError","super","setPrototypeOf","prototype","HttpClientError","$3532153250d0a8c3$var$HttpClientResponse","readBody","$3532153250d0a8c3$var$__awaiter","output","Buffer","alloc","chunk","HttpClientResponse","isHttps","requestUrl","protocol","userAgent","handlers","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","max","keepAlive","additionalHeaders","del","post","data","patch","put","head","sendStream","verb","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","postJson","obj","ContentType","putJson","patchJson","headers","parsedUrl","_prepareRequest","maxTries","response","numTries","requestRaw","Unauthorized","authenticationHandler","handler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","hostname","header","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","onResult","handleResult","callbackCalled","byteLength","httpModule","socket","sock","setTimeout","pipe","getAgent","_getAgent","usingSsl","defaultPort","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","$3532153250d0a8c3$var$lowercaseKeys","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","min","contents","NotFound","deserializeDates","parse","isNaN","valueOf","reduce","$1f9807f2878b82ba$var$checkBypass","reqUrl","noProxy","reqPort","upperReqHosts","upperNoProxyItem","some","proxyVar","checkBypass","$b80e68d5f6e6478f$var$TunnelingAgent","self","proxyOptions","defaultMaxSockets","requests","sockets","localAddress","$b80e68d5f6e6478f$var$toOptions","pending","onSocket","removeSocket","$b80e68d5f6e6478f$var$createSecureSocket","createSocket","hostHeader","getHeader","tlsOptions","$b80e68d5f6e6478f$var$mergeOptions","servername","secureSocket","$dLzlS$tls","connect","target","arguments","overrides","keyLen","$b80e68d5f6e6478f$export$25cbd437c61a3835","$b80e68d5f6e6478f$export$c06e3df7111bae43","$b80e68d5f6e6478f$export$5d50e36ef656139f","$b80e68d5f6e6478f$export$212d6605025321cc","$b80e68d5f6e6478f$export$1c9f709888824e05","$b80e68d5f6e6478f$var$debug","$dLzlS$util","inherits","$dLzlS$events","EventEmitter","addRequest","onFree","emit","onCloseOrRemove","removeListener","onConnect","connectReq","removeAllListeners","placeholder","connectOptions","useChunkedEncodingByDefault","once","upgrade","nextTick","cause","stack","pos","BasicCredentialHandler","PersonalAccessTokenCredentialHandler","access","$6e714722da61276d$var$access","appendFile","$6e714722da61276d$var$appendFile","writeFile","$6e714722da61276d$var$writeFile","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","$6e714722da61276d$var$_summary","_buffer","_filePath","pathFromEnv","constants","R_OK","W_OK","wrap","tag","content","attrs","htmlAttrs","overwrite","writeFunc","emptyBuffer","clear","isEmptyBuffer","addRaw","text","addEOL","addCodeBlock","lang","element","addList","items","ordered","listItems","item","addTable","rows","tableBody","row","cells","cell","colspan","rowspan","addDetails","label","addImage","src","alt","width","height","addHeading","level","allowedTag","addSeparator","addBreak","addQuote","cite","addLink","$ea3827574cd211c8$var$path","$ea3827574cd211c8$var$__importStar","pth","sep","$b43ef73900290537$var$checkStat","stat","isSymbolicLink","isFile","pathext","PATHEXT","p","$b43ef73900290537$var$checkPathExt","$b43ef73900290537$var$isexe","statSync","$6f57237f32b1c8cb$var$isexe","$6f57237f32b1c8cb$var$checkStat","mod","mode","uid","gid","myUid","myGid","getgid","u","g","ug","$6f57237f32b1c8cb$var$checkMode","$3b34b48be461ec36$var$e","r","$3b34b48be461ec36$var$a","t","set","configurable","$a5582d346e4b3341$export$a8ff84c12d48cfa6","includeExtension","$7457c063c1e31880$re_export$basename","$7457c063c1e31880$re_export$extname","$45b0b91f3d5fdf49$export$873fead74fe2f1ff","$7457c063c1e31880$re_export$normalize","RegExp","$7457c063c1e31880$re_export$sep","$da4ea98ccf2b8f4a$export$2d20c564cade3c93","win_ext","other_ext","$42f4c5f180b55060$export$3e333f8cb13439c","ext","NameWithPrefix","$7457c063c1e31880$re_export$join","$7457c063c1e31880$re_export$dirname","$f11696b7d525a61d$export$3b60a3e9bd1aef9d","NameWithSuffix","$2a00a829b3c112e0$export$609be29b80b555e1","$edd2b45bfca6fe1c$export$e1f23f8d3e53fe6","$b68d3ca62f2620d8$export$19c5468f88f6e968","extensionLength","$e6109faa76fd4f61$export$e9c34737ac8e53d2","__esModule","$b101f75d3a3e0cac$exports","$688073c60b64a457$export$7d0573375890d05c","childPath","parentPath","relation","$7457c063c1e31880$re_export$relative","$7457c063c1e31880$re_export$resolve","npath","first2chars","nFileName","nFilepath","$3b34b48be461ec36$var$B","$3b34b48be461ec36$export$7d0573375890d05c","$3b34b48be461ec36$var$z","$3b34b48be461ec36$var$O","$3b34b48be461ec36$var$_","$3b34b48be461ec36$var$R","$3b34b48be461ec36$var$T","$3b34b48be461ec36$var$A","$3b34b48be461ec36$var$I","$3b34b48be461ec36$var$M","$3b34b48be461ec36$var$k","$3b34b48be461ec36$var$q","GERRIT_PROJECT","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","BITRISE_IO","BUDDY_WORKSPACE_ID","BUILDKITE","CIRRUS_CI","GITLAB_CI","APPVEYOR","CIRCLECI","SEMAPHORE","DRONE","DSARI","GITHUB_ACTION","TDDIUM","SCREWDRIVER","STRIDER","TASKCLUSTER_ROOT_URL","JENKINS_URL","GO_PIPELINE_NAME","HUDSON_URL","WERCKER","NETLIFY","NOW_GITHUB_DEPLOYMENT","GITLAB_DEPLOYMENT","BITBUCKET_DEPLOYMENT","BITBUCKET_BUILD_NUMBER","NOW_BUILDER","VERCEL_GITHUB_DEPLOYMENT","VERCEL_GITLAB_DEPLOYMENT","VERCEL_BITBUCKET_DEPLOYMENT","VERCEL_URL","MAGNUM","NEVERCODE","RENDER","SAIL_CI","SHIPPABLE","TEAMCITY_VERSION","CI_NAME","NODE","TRAVIS","CODEBUILD_SRC_DIR","BUILDER_OUTPUT","$dfbf2d9bb1250e23$export$a3bc9b8ed74fc","$04fde","log","$dfbf2d9bb1250e23$export$fe7c49d056ea1d88","$dfbf2d9bb1250e23$export$491112666e282270","$dfbf2d9bb1250e23$export$b31f6ae88848cf15","$dfbf2d9bb1250e23$export$a80b3bd66acc52ff","$00cc2cb44b74fa5a$var$getInput","$00cc2cb44b74fa5a$var$error","$2iva8","$hGWy4","$00cc2cb44b74fa5a$var$startGroup","$00cc2cb44b74fa5a$var$endGroup","$00cc2cb44b74fa5a$var$os","$00cc2cb44b74fa5a$var$__importStar","$00cc2cb44b74fa5a$var$path","$00cc2cb44b74fa5a$var$ExitCode","$kCOkT","$1hWAC","$hILBc","$39f1T","$1ac56f735470f2bc$var$issueCommand","$1ac56f735470f2bc$var$Command","$1ac56f735470f2bc$var$os","$1ac56f735470f2bc$var$__importStar","$1ac56f735470f2bc$var$escapeData","$f03e66e97447a0d4$var$fs","$f03e66e97447a0d4$var$__importStar","$f03e66e97447a0d4$var$os","$0f04d3adb67492b4$var$OidcClient","$ce6b77df7bbb7675$var$access","$ce6b77df7bbb7675$var$appendFile","$ce6b77df7bbb7675$var$writeFile","$ce6b77df7bbb7675$var$_summary","$24addeec9ef57a1a$var$path","$24addeec9ef57a1a$var$__importStar","$b49efd1a00c432ed$var$rmRF","$b49efd1a00c432ed$var$ioUtil","IS_WINDOWS","cmdPath","getCmdPath","isDirectory","$b49efd1a00c432ed$var$exec","unlink","isDir","err2","$b49efd1a00c432ed$var$execFile","$b49efd1a00c432ed$var$mkdirP","fsPath","mkdir","recursive","$b49efd1a00c432ed$var$findInPath","extensions","$b49efd1a00c432ed$var$path","isRooted","tryGetExecutablePath","directories","matches","filePath1","$b49efd1a00c432ed$var$cpDirRecursive","sourceDir","destDir","currentDepth","force","files","readdir","srcFile","destFile","lstat","$b49efd1a00c432ed$var$copyFile","chmod","symlinkFull","readlink","symlink","exists","copyFile","$b49efd1a00c432ed$var$childProcess","$b49efd1a00c432ed$var$__importStar","promisify","exec","execFile","cp","source","copySourceDirectory","$b49efd1a00c432ed$var$readCopyOptions","destStat","newDest","basename","relative","mv","destExists","rename","which","$b49efd1a00c432ed$var$which","check","findInPath","$1f568b1c4242dba7$var$isUnixExecutable","stats","$1f568b1c4242dba7$var$fs","$1f568b1c4242dba7$var$__importStar","$1f568b1c4242dba7$var$path","$1f568b1c4242dba7$var$_a","rmdir","useStat","$1f568b1c4242dba7$var$normalizeSeparators","upperExt","extname","validExt","originalFilePath","upperName","actualName","$49c6639221a3e217$var$semver","$49c6639221a3e217$var$__importStar","_findMatch","stable","candidates","archFilter","platFilter","candidate","chk","platform_version","_getOsVersion","plat","lsbContents","_readLinuxVersionFile","lines","parts","lsbReleaseFile","osReleaseFile","$bikcG","re","tokens","SEMVER_SPEC_VERSION","SemVer","compareIdentifiers","rcompareIdentifiers","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","lt","eq","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","MAX_SAFE_COMPONENT_LENGTH","R","createToken","isGlobal","index","$jkMsx","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","$83910c29f6734fbd$require$MAX_SAFE_COMPONENT_LENGTH","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","Number","MAX_SAFE_INTEGER","$e1357995fd1631a2$var$debug","$bgOMw","$5696f94a63c27d85$var$SemVer","$eUvvN","loose","includePrerelease","$5696f94a63c27d85$require$MAX_LENGTH","m","$5696f94a63c27d85$require$re","$5696f94a63c27d85$require$t","LOOSE","FULL","raw","$5696f94a63c27d85$require$MAX_SAFE_INTEGER","id","num","build","other","compareMain","comparePre","$5696f94a63c27d85$require$compareIdentifiers","release","identifier","$adaebd3d9a17271f$var$opts","o","$0c2cbbcfac21c924$var$numeric","$0c2cbbcfac21c924$var$compareIdentifiers","anum","bnum","$7qUJS","$bce3317ae792f650$require$MAX_LENGTH","$bce3317ae792f650$require$re","$bce3317ae792f650$require$t","$gdrva","version2","$jXghC","v1","v2","hasPre","defaultResult","versionA","versionB","$80ezM","list","op","$fqqGA","$6KPS4","$5cRW4","$lr5pz","rtl","next","$171a4a37978eb9a3$require$re","$171a4a37978eb9a3$require$t","COERCERTL","lastIndex","$ad0b6a9469831548$var$ANY","Symbol","$ad0b6a9469831548$var$Comparator","ANY","comp","semver","operator","$ad0b6a9469831548$require$re","$ad0b6a9469831548$require$t","COMPARATORLOOSE","COMPARATOR","$823yM","$hvUff","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","$cc00f5fd17503a13$var$Range","range","$eR6XK","parseRange","$cc00f5fd17503a13$var$isNullSet","$cc00f5fd17503a13$var$isAny","comps","memoKey","cached","$cc00f5fd17503a13$var$cache","$cc00f5fd17503a13$require$re","$cc00f5fd17503a13$require$t","HYPHENRANGELOOSE","HYPHENRANGE","$cc00f5fd17503a13$var$hyphenReplace","COMPARATORTRIM","$cc00f5fd17503a13$require$comparatorTrimReplace","rangeList","TILDETRIM","$cc00f5fd17503a13$require$tildeTrimReplace","CARETTRIM","$cc00f5fd17503a13$require$caretTrimReplace","$cc00f5fd17503a13$var$parseComparator","$cc00f5fd17503a13$var$replaceGTE0","rangeMap","Map","comparators","size","delete","thisComparators","$cc00f5fd17503a13$var$isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","$cc00f5fd17503a13$var$testSet","remainingComparators","testComparator","pop","otherComparator","$cc00f5fd17503a13$var$replaceCarets","$cc00f5fd17503a13$var$replaceTildes","$cc00f5fd17503a13$var$replaceXRanges","$cc00f5fd17503a13$var$replaceStars","$cc00f5fd17503a13$var$isX","$cc00f5fd17503a13$var$replaceTilde","TILDELOOSE","TILDE","M","pr","ret","$cc00f5fd17503a13$var$replaceCaret","z","CARETLOOSE","CARET","$cc00f5fd17503a13$var$replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","tb","i1","allowed","$4f0bf18d6c99da3c$var$perf","performance","$4f0bf18d6c99da3c$var$AC","AbortController","signal","AbortSignal","abort","aborted","$4f0bf18d6c99da3c$var$warned","Set","$4f0bf18d6c99da3c$var$deprecatedOption","opt","instead","$4f0bf18d6c99da3c$var$shouldWarn","$4f0bf18d6c99da3c$var$warn","$4f0bf18d6c99da3c$var$LRUCache","$4f0bf18d6c99da3c$var$deprecatedMethod","getOwnPropertyDescriptor","$4f0bf18d6c99da3c$var$emitWarning","emitWarning","what","add","$4f0bf18d6c99da3c$var$isPosInt","n","floor","isFinite","$4f0bf18d6c99da3c$var$getUintArray","$4f0bf18d6c99da3c$var$ZeroArray","Uint32Array","Uint16Array","fill","$4f0bf18d6c99da3c$var$Stack","UintArray","heap","ttl","ttlResolution","ttlAutopurge","updateAgeOnGet","updateAgeOnHas","allowStale","disposeAfter","noDisposeOnSet","noUpdateTTL","maxSize","sizeCalculation","fetchMethod","maxAge","stale","keyMap","keyList","valList","prev","tail","free","initialFill","disposed","initializeSizeTracking","initializeTTLTracking","getRemainingTTL","ttls","starts","setItemTTL","isStale","unref","updateItemAge","cachedNow","getNow","calculatedSize","sizes","removeItemSize","requireSize","addItemSize","evict","indexes","isValidIndex","rindexes","rentries","rkeys","rvalues","iterator","getOptions","thisp","rforEach","prune","purgeStale","deleted","dump","entry","unshift","load","reason","newIndex","oldVal","isBackgroundFetch","__abortController","moveToTail","peek","backgroundFetch","ac","fetchOpts","then","__staleWhileFetching","fetching","reset","field","$4f0bf18d6c99da3c$var$deprecatedProperty","maxSV","rangeObj","minSV","minver","setMin","comparator","compver","$52e25de88536d4d3$var$ANY","hilo","gtfn","ltefn","ltfn","ecomp","$c8FZS","high","low","$77bPN","r1","r2","ranges","simplified","$2478f50f5acc8298$var$ANY","$2478f50f5acc8298$var$simpleSubset","sub","dom","eqSet","gtltComp","higher","lower","hasDomLT","hasDomGT","$2478f50f5acc8298$var$higherGT","$2478f50f5acc8298$var$lowerLT","c1","needDomLTPre","needDomGTPre","c2","sawNonNull","OUTER","simpleSub","simpleDom","isSub","$joDHm","ii","$inTPA","randomBytes","$d625aee022f0dd91$var$byteToHex","$d625aee022f0dd91$var$i","$8da6c9556ccdcf3f$var$exec","commandLine","commandArgs","$8da6c9556ccdcf3f$var$tr","argStringToArray","ToolRunner","$8da6c9556ccdcf3f$var$__importStar","stdoutDecoder","$dLzlS$string_decoder","StringDecoder","stderrDecoder","originalStdoutListener","listeners","originalStdErrListener","_b","$a31d583cb10858c8$var$os","$a31d583cb10858c8$var$__importStar","$a31d583cb10858c8$var$events","$a31d583cb10858c8$var$child","$a31d583cb10858c8$var$path","$a31d583cb10858c8$var$io","$a31d583cb10858c8$var$ioUtil","$a31d583cb10858c8$var$IS_WINDOWS","_debug","_getCommandString","noPrefix","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","a1","_windowsQuoteCmdArg","a2","a3","_processLineBuffer","strBuffer","onLine","argline","_endsWith","str","endsWith","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","$a31d583cb10858c8$var$__awaiter","optionsNonNull","state","$a31d583cb10858c8$var$ExecState","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","argString","append","escaped","inQuotes","charAt","done","timeout","_setResult","$dLzlS$timers","HandleTimeout","clearTimeout","require","$95c5fc1c1b6165c5$var$addLocale","localeData","$95c5fc1c1b6165c5$var$locales","$95c5fc1c1b6165c5$var$pluralize","unit","config","unitTypeData","locale","lookupOrder","unitTypeLookupOrder","unitType","$95c5fc1c1b6165c5$var$getLocaleDataForUnitType","pluralize","$95c5fc1c1b6165c5$var$timeUnits","$95c5fc1c1b6165c5$var$defaultConfig","span","firstDate","secondDate","autoload","$3Zbea","localeId","$95c5fc1c1b6165c5$var$requireLocale","$95c5fc1c1b6165c5$var$ensureLocaleLoadedOrThrow","difference","results","divider","$95c5fc1c1b6165c5$var$getDifference","$95c5fc1c1b6165c5$var$format","variants","checkLocale","locales","hasLocale","$de644365a4a5582b$var$$parcel$__dirname","requireLocale","moduleDefinition","callable","numerous","node","$4ca03dc05bbe4be0$var$isWindows","OSTYPE","$4ca03dc05bbe4be0$var$COLON","TESTING_WINDOWS","$1d8d028d9c47b73d$exports","$4ca03dc05bbe4be0$var$getNotFoundError","$4ca03dc05bbe4be0$var$getPathInfo","colon","pathEnv","pathExtExe","$4ca03dc05bbe4be0$var$which","found","step","ppRaw","pathPart","pCmd","subStep","cur","ex","$e9929770d50e0ca3$var$pathKey","environment","$14642610717c66e2$export$ae50443ffc990749","$14642610717c66e2$export$6ea29ee575e3f5ff","$51d58653c6048ffd$exports","$14642610717c66e2$var$metaCharsRegExp","doubleEscapeMetaChars","$70842f99e7c30891$exports","$58ccbcc4db2ecd48$exports","argument","binary","$572e9b86f5fc3342$exports","buffer","fd","openSync","readSync","closeSync","$9cf15e4f01e764e1$var$isWin","$9cf15e4f01e764e1$var$isExecutableRegExp","$9cf15e4f01e764e1$var$isCmdShimRegExp","commandFile","shebang","$9cf15e4f01e764e1$var$detectShebang","needsShell","forceShell","needsDoubleEscapeMetaChars","normalize","shellCommand","comspec","$9cf15e4f01e764e1$var$parseNonShell","originalEmit","arg1","apply","$338cd3297632d74f$exports","spawnSync","verifyENOENTSync","_parse","_enoent","$98427f994073a8a3$exports","CR","$e076d46b8261c78a$var$npmRunPath","previous","execPath","cwdPath","execPathDir","$e076d46b8261c78a$exports","$2826e4518080138e$var$mimicFn","prop","Reflect","ownKeys","$2826e4518080138e$exports","$2a4addac1ccdeac1$var$calledFunctions","WeakMap","$2a4addac1ccdeac1$var$onetime","function_","returnValue","callCount","functionName","displayName","onetime","arguments_","throw","$2a4addac1ccdeac1$exports","$d078421bb3e3863b$exports","signalsByNumber","signalsByName","$7183a0a1bd319d48$exports","getSignals","standard","number","action","description","forced","getRealtimeSignals","SIGRTMAX","SIGRTMIN","getRealtimeSignal","$1d5ee7ec3cf727ea$var$SIGRTMAX","realtimeSignals","$1d5ee7ec3cf727ea$exports","SIGNALS","normalizeSignal","defaultNumber","signals","constantSignal","supported","signalByNameMemo","$d078421bb3e3863b$var$signalsByName","signalsA","signalA","findSignalByNumber","getSignalByNumber","getSignalsByNumber","$d078421bb3e3863b$var$signalsByNumber","$dd1b4f5e55037c97$exports","escapedCommand","timedOut","isCanceled","killed","signalDescription","$dd1b4f5e55037c97$require$signalsByName","errorCode","$dd1b4f5e55037c97$var$getErrorPrefix","execaMessage","isError","shortMessage","Boolean","originalMessage","failed","$9a6ccfc90813398a$var$aliases","$9a6ccfc90813398a$var$normalizeStdio","$9a6ccfc90813398a$var$hasAlias","$9a6ccfc90813398a$exports","$6a176bc6f7b604f3$var$process","$6a176bc6f7b604f3$var$processOk","reallyExit","kill","pid","$6a176bc6f7b604f3$var$emitter","$6a176bc6f7b604f3$var$assert","$6a176bc6f7b604f3$var$signals","$6a176bc6f7b604f3$var$isWin","$6a176bc6f7b604f3$var$EE","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","$6a176bc6f7b604f3$exports","equal","$6a176bc6f7b604f3$var$loaded","$6a176bc6f7b604f3$var$load","ev","alwaysLast","$6a176bc6f7b604f3$var$unload","sig","$6a176bc6f7b604f3$var$sigListeners","$6a176bc6f7b604f3$var$originalProcessEmit","$6a176bc6f7b604f3$var$originalProcessReallyExit","unload","$6a176bc6f7b604f3$var$emit","event","$6a176bc6f7b604f3$var$processEmit","$6a176bc6f7b604f3$var$processReallyExit","$2808df33d6c30b25$var$isSigterm","SIGTERM","$2808df33d6c30b25$exports","killResult","forceKillAfterTimeout","$2808df33d6c30b25$var$shouldForceKill","$2808df33d6c30b25$var$getForceKillAfterTimeout","$2808df33d6c30b25$var$setKillTimeout","context","killSignal","spawnedPromise","timeoutId","timeoutPromise","$2808df33d6c30b25$var$timeoutKill","safeSpawnedPromise","finally","race","cleanup","detached","timedPromise","removeExitHandler","spawnedKill","spawnedCancel","setupTimeout","validateTimeout","setExitHandler","$70a93fcbba5dfccf$var$isStream","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","$70a93fcbba5dfccf$exports","$dLzlS$buffer","$dLzlS$stream","PassThrough","array","isBuffer","objectMode","$2791e057b208c733$require$PassThroughStream","setEncoding","chunks","$3f8980e86d9447d4$require$promisify","pipeline","$3f8980e86d9447d4$exports","MaxBufferError","$093c506afc3bd46a$exports","sources","remove","bind","isEmpty","it","$093c506afc3bd46a$require$PassThrough","$695f2f6df63802a7$var$getBufferedData","streamPromise","$695f2f6df63802a7$var$getStreamPromise","$695f2f6df63802a7$exports","mixed","processDone","stdoutPromise","stderrPromise","allPromise","handleInput","getSpawnedResult","makeAllStream","validateInputSync","$183dab226baf544c$var$nativePromisePrototype","$183dab226baf544c$var$descriptors","property","$183dab226baf544c$exports","promise","descriptor","mergePromise","getSpawnedPromise","$b6e06bcb542f40f3$var$normalizeArgs","$b6e06bcb542f40f3$var$NO_ESCAPE_REGEXP","$b6e06bcb542f40f3$var$DOUBLE_QUOTES_REGEXP","$b6e06bcb542f40f3$var$SPACES_REGEXP","$b6e06bcb542f40f3$exports","$b6e06bcb542f40f3$var$escapeArg","previousToken","joinCommand","parseCommand","getEscapedCommand","$c3e9e2f843627429$var$handleArguments","stripFinalNewline","preferLocal","localDir","windowsHide","envOption","$c3e9e2f843627429$var$getEnv","$c3e9e2f843627429$var$handleOutput","$c3e9e2f843627429$var$execa","$c3e9e2f843627429$require$joinCommand","$c3e9e2f843627429$require$getEscapedCommand","$c3e9e2f843627429$require$validateTimeout","dummySpawned","ChildProcess","errorPromise","$c3e9e2f843627429$require$mergePromise","$c3e9e2f843627429$require$getSpawnedPromise","$c3e9e2f843627429$require$setupTimeout","$c3e9e2f843627429$require$setExitHandler","$c3e9e2f843627429$require$spawnedKill","cancel","$c3e9e2f843627429$require$spawnedCancel","handlePromiseOnce","stdoutResult","stderrResult","allResult","$c3e9e2f843627429$require$getSpawnedResult","returnedError","$c3e9e2f843627429$require$handleInput","$c3e9e2f843627429$require$makeAllStream","$c3e9e2f843627429$require$validateInputSync","error1","$c3e9e2f843627429$require$parseCommand","scriptPath","defaultExecArgv","execArgv","nodePath","nodeOptions","$a7308743a0157ada$var$homeDirectory","homedir","pathWithTilde","$892cf68de9d02605$var$is_posix_os","$892cf68de9d02605$var$version","$892cf68de9d02605$var$windows_version_regex","given_path","major_release","os_build","$892cf68de9d02605$var$should_not_escape","$2032c186687979ea$var$__importStar","$2032c186687979ea$var$mm","$2032c186687979ea$var$httpm","$2032c186687979ea$var$stream","$2032c186687979ea$var$util","$2032c186687979ea$var$__importDefault","$a3103f5469ee5040$var$core","$a3103f5469ee5040$var$__importStar","$a3103f5469ee5040$exports","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","isRetryable","attempt","seconds","getSleepAmount","sleep","$2032c186687979ea$var$HTTPError","httpStatusCode","HTTPError","$2032c186687979ea$var$IS_WINDOWS","$2032c186687979ea$var$IS_MAC","auth","retryHelper","$2032c186687979ea$var$__awaiter","http","authorization","statusMessage","readStream","responseMessageFactory","succeeded","createWriteStream","$2032c186687979ea$var$downloadToolAttempt","extract7z","_7zPath","originalCwd","args1","$2032c186687979ea$var$$parcel$__dirname","options1","powershellPath","versionOutput","isGnuTar","destArg","fileArg","extractXar","xarPath","extractZip","escapedFile","escapedDest","pwshPath","$2032c186687979ea$var$extractZipWin","unzipPath","$2032c186687979ea$var$extractZipNix","destPath","itemName","cacheFile","sourceFile","targetFile","destFolder","cachePath","findAllVersions","getManifestFromRepo","owner","branch","releases","treeUrl","manifestUrl","tree","versionsRaw","findFromManifest","manifest","isExplicitVersion","evaluateVersions","isUrl","trimmedUrl","$dLzlS$url","$916a385c4d46b771$export$8092cb61b2731942","llvm","clangtidy","clangformat","ninja","gcovr","conan","meson","kcov","task","doxygen","gcc","nala","specific","$dcc4a5600f9a2a29$var$__importStar","$c10add6f7657d058$exports","$dcc4a5600f9a2a29$var$escapeData","$ffb53a3661600710$var$fs","$ffb53a3661600710$var$__importStar","$ffb53a3661600710$var$os","$ffb53a3661600710$exports","$d2814cb4b08c0425$var$os","$d2814cb4b08c0425$var$__importStar","$d2814cb4b08c0425$var$path","$d2814cb4b08c0425$var$ExitCode","$dLzlS$process","$44e2ea7eee739a17$var$VSWHERE_PATH","arch_aliases","win32","win64","x86_64","vcvars","cmd_output_parts","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","string1","name1","new_value","long","one","months","weeks","days","hours","minutes","narrow","short","abs","exe","reDistributor","reDescription","reRelease","distributorFound","desc","rel","m1","ss","$af664557d133c197$var$binDir","$2c1dbb6d966096c4$var$hasVCPKG","python","vcpkg","addShExt","addShRelativePrefix","bazel","opencppcoverage","$e72e2baab3c48b0e$var$activateOpencppcoverage","choco","brew","ubuntuVerSplitted","ccache","$9f276bb1312a9d71$var$activateWinDoxygen","graphviz","cppcheck","$3b5b7f21aafe5be9$var$activateWinCppcheck","msvc","vcvarsall","versionSplit","installMethod","version_number","make","sevenzip","argv"],"version":3,"file":"setup_cpp.js.map","sourceRoot":"../"} \ No newline at end of file +{"mappings":"4IAWA,SAASA,EAAOC,EAAMC,EAASC,GAM7B,GALuB,mBAAZD,IACTC,EAAKD,EACLA,EAAU,KAGPC,EAAI,CACP,GAAuB,mBAAZC,QACT,MAAM,IAAIC,UAAU,yBAGtB,OAAO,IAAID,SAAQ,CAAUE,EAASC,KACpCP,EAAMC,EAAMC,GAAW,IAAI,CAAUM,EAAIC,KACnCD,EACFD,EAAOC,GAEPF,EAAQG,E,OAMhBC,GAAKT,EAAMC,GAAW,IAAI,CAAUM,EAAIC,KAElCD,IACc,WAAZA,EAAGG,MAAqBT,GAAWA,EAAQU,gBAC7CJ,EAAK,KACLC,GAAK,GAGTN,EAAGK,EAAIC,E,IClCJ,SAASI,EAAUC,EAAkBC,EAAmBC,GAC7D,IAAK,CAAC,SAAU,SAASC,SAASC,QAAQC,UACxC,OAEF,GAAsB,iBAAXC,GACT,MAAO,C,OAAEA,IAGX,MAAMC,EAAcC,EAAAC,IAAMC,KAAK,OAAQ,CAAEC,SAAS,IAClD,OAAoB,OAAhBJ,GACFD,IAAS,EAAAM,GAAAC,SAAQN,GACV,C,OAAED,OAIX,EAAAQ,GAAAC,cAAa,kGAAmG,CAC9GC,MAAO,YAETV,GAAS,kBAEF,C,OAAEA,I,CCrBX,SAASW,EAAsBC,EAAQC,GACnC,MAAMC,EAAMF,EAAO9B,QAAQgC,KAAOhB,QAAQgB,IACpCC,EAAMjB,QAAQiB,MACdC,EAAqC,MAAtBJ,EAAO9B,QAAQiC,IAE9BE,EAAkBD,QAAkCE,IAAlBpB,QAAQqB,QAAwBrB,QAAQqB,MAAMC,SAItF,GAAIH,EACA,IACInB,QAAQqB,MAAMP,EAAO9B,QAAQiC,IAElB,CADb,MAAOM,GACM,CAInB,IAAIC,EAEJ,IACI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,MACV5nB,MAAMlI,IACL93C,QAAQ6kB,SAAWizB,CAAG,IAEvBxtB,OAAO/oB,KACN,EAAA4E,GAAAzC,OAAM,qBACN,EAAAyC,GAAAzC,OAAMnC,GACNvB,QAAQ6kB,SAAW,CAAC","sources":["node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","src/brew/brew.ts","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js","packages/root-tools/src/index.ts","packages/untildify-user/src/index.ts","packages/exec-powershell/src/index.ts","src/utils/env/addEnv.ts","src/utils/setup/setupAptPack.ts","src/utils/setup/setupPacmanPack.ts","src/utils/setup/setupBrewPack.ts","src/chocolatey/chocolatey.ts","src/utils/setup/setupChocoPack.ts","src/utils/env/isArch.ts","src/utils/env/hasDnf.ts","src/utils/setup/setupDnfPack.ts","src/utils/env/isUbuntu.ts","src/sevenzip/sevenzip.ts","packages/user-access/src/index.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","src/utils/setup/extract.ts","src/utils/setup/setupBin.ts","src/task/task.ts","src/cmake/cmake.ts","src/python/python.ts","node_modules/.pnpm/is-url-online@1.5.0/node_modules/is-url-online/dist/index.mjs","src/utils/setup/version.ts","src/default_versions.ts","src/utils/setup/setupPipPack.ts","src/graphviz/graphviz.ts","src/doxygen/doxygen.ts","src/macos-sdk/macos-sdk.ts","src/gcc/gcc.ts","src/llvm/llvm.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/lib.js","src/vcvarsall/vcvarsall.ts","src/msvc/msvc.ts","src/ninja/ninja.ts","node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","src/utils/env/ubuntu_version.ts","src/kcov/kcov.ts","src/main.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v4.js","node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/rng.js","node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/stringify.js","node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/validate.js","node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/regex.js","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/oidc-utils.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/index.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/proxy.ts","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/auth.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/summary.ts","node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/path-utils.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/name.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/normalize-trim.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/add-exe-ext.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/add-name-prefix.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/add-name-suffix.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/add-sh-ext.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/add-sh-relative-prefix.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/remove-ext.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/replace-ext.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/src/is-path-inside.ts","node_modules/.pnpm/patha@0.4.0/node_modules/patha/node_modules/.pnpm/replace-ext@2.0.0/node_modules/replace-ext/index.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","node_modules/.pnpm/github.com+aminya+ci-detect@37fe40075bebec96794ba0a7c4a6d5c70cbea00d/node_modules/@npmcli/ci-detect/lib/index.js","packages/ci-log/src/index.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/oidc-utils.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/summary.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/path-utils.ts","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io.ts","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io-util.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","node_modules/.pnpm/semver@7.3.7/node_modules/semver/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/re.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/constants.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/debug.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/semver.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/parse-options.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/identifiers.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/parse.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/clean.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/inc.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/diff.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/eq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/major.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/minor.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/patch.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/prerelease.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rcompare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-loose.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-build.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/sort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rsort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/neq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/cmp.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/coerce.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/comparator.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/range.js","node_modules/.pnpm/lru-cache@7.8.1/node_modules/lru-cache/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/satisfies.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/to-comparators.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/max-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-version.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/outside.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/gtr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/ltr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/intersects.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/simplify.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/subset.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/exec.ts","node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","node_modules/.pnpm/@parcel+runtime-js@2.7.0_@parcel+core@2.7.0/node_modules/@parcel/runtime-js/lib/runtime-5490b668a0a39291.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/lib/time-delta.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/index.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.js","node_modules/.pnpm/is-node@1.0.2/node_modules/is-node/index.js","node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js","node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js","node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js","node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js","node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/main.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/signals.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/core.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/realtime.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js","node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js","node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js","node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","node_modules/.pnpm/github.com+aminya+escape-path-with-spaces@d9f81ee649203ddc55783a2f96ada59df06118e3/node_modules/escape-path-with-spaces/index.js","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/index.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/locales/en.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","src/vcpkg/vcpkg.ts","src/nala/nala.ts","src/bazel/bazel.ts","src/conan/conan.ts","src/meson/meson.ts","src/gcovr/gcovr.ts","src/opencppcoverage/opencppcoverage.ts","src/powershell/powershell.ts","src/ccache/ccache.ts","src/cppcheck/cppcheck.ts","src/make/make.ts"],"sourcesContent":["var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n","import { execFileSync } from \"child_process\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupBrew(_version: string, _setupDir: string, _arch: string) {\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // brew is not thread-safe\n execFileSync(`/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"`, {\n stdio: \"inherit\",\n })\n binDir = \"/usr/local/bin/\"\n\n return { binDir }\n}\n","'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n","'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n","'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\nconst {constants: BufferConstants} = require('buffer');\nconst stream = require('stream');\nconst {promisify} = require('util');\nconst bufferStream = require('./buffer-stream');\n\nconst streamPipelinePromisified = promisify(stream.pipeline);\n\nclass MaxBufferError extends Error {\n\tconstructor() {\n\t\tsuper('maxBuffer exceeded');\n\t\tthis.name = 'MaxBufferError';\n\t}\n}\n\nasync function getStream(inputStream, options) {\n\tif (!inputStream) {\n\t\tthrow new Error('Expected a stream');\n\t}\n\n\toptions = {\n\t\tmaxBuffer: Infinity,\n\t\t...options\n\t};\n\n\tconst {maxBuffer} = options;\n\tconst stream = bufferStream(options);\n\n\tawait new Promise((resolve, reject) => {\n\t\tconst rejectPromise = error => {\n\t\t\t// Don't retrieve an oversized buffer.\n\t\t\tif (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) {\n\t\t\t\terror.bufferedData = stream.getBufferedValue();\n\t\t\t}\n\n\t\t\treject(error);\n\t\t};\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tawait streamPipelinePromisified(inputStream, stream);\n\t\t\t\tresolve();\n\t\t\t} catch (error) {\n\t\t\t\trejectPromise(error);\n\t\t\t}\n\t\t})();\n\n\t\tstream.on('data', () => {\n\t\t\tif (stream.getBufferedLength() > maxBuffer) {\n\t\t\t\trejectPromise(new MaxBufferError());\n\t\t\t}\n\t\t});\n\t});\n\n\treturn stream.getBufferedValue();\n}\n\nmodule.exports = getStream;\nmodule.exports.buffer = (stream, options) => getStream(stream, {...options, encoding: 'buffer'});\nmodule.exports.array = (stream, options) => getStream(stream, {...options, array: true});\nmodule.exports.MaxBufferError = MaxBufferError;\n","import which from \"which\"\nimport execa from \"execa\"\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return (Boolean(process.env.CI) || isRoot()) && which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/** Detect if the process has root privileges */\nexport function isRoot(): boolean {\n return process.getuid?.() === 0\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: execa.SyncOptions = { stdio: \"inherit\", shell: true }\n): execa.ExecaSyncReturnValue {\n if (isSudo()) {\n return execa.commandSync(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa.sync(program, args, execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: execa.Options = { stdio: \"inherit\", shell: true }\n): execa.ExecaChildProcess {\n if (isSudo()) {\n return execa.command(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa(program, args, execOptions)\n }\n}\n","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"root-tools\"\n\nexport function untildifyUser(path: string) {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER, path)\n } else {\n return join(\"/home/\", process.env.SUDO_USER, path)\n }\n } else {\n return untildify(`~/${path}`)\n }\n}\n","import execa from \"execa\"\nimport which from \"which\"\n\n/** The cached powershell path */\nlet powershell: string | undefined\n\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.Options = { stdio: \"inherit\" }\n): execa.ExecaChildProcess {\n return execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.SyncOptions = { stdio: \"inherit\" }\n): execa.ExecaSyncReturnValue {\n return execa.sync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true })\n if (maybePwsh !== null) {\n powershell = maybePwsh\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\")\n }\n return powershell\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, existsSync, readFileSync } from \"fs\"\nimport { error, warning } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\n\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addEnv(name: string, valGiven: string | undefined, shouldEscapeSpace: boolean = false) {\n const val = shouldEscapeSpace ? escapeSpace(valGiven ?? \"\") : valGiven\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val)\n }\n } else {\n await addEnvSystem(name, val)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to export environment variable ${name}=${val}. You should add it manually.`)\n }\n}\n\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addPath(path: string) {\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n ghAddPath(path)\n } catch (err) {\n error(err as Error)\n await addPathSystem(path)\n }\n } else {\n await addPathSystem(path)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to add ${path} to the percistent PATH. You should add it manually.`)\n }\n}\n\nexport const cpprc_path = untildifyUser(\".cpprc\")\n\nasync function addEnvSystem(name: string, valGiven: string | undefined) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`)\n info(`${name}='${val}' was set in the environment.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val\n}\n\nasync function addPathSystem(path: string) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(\n `$USER_PATH=([Environment]::GetEnvironmentVariable(\"patha\", \"User\")); [Environment]::SetEnvironmentVariable(\"patha\", \"${path};$USER_PATH\", \"User\")`\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport PATH=\"${path}:$PATH\"\\n`)\n info(`\"${path}\" was added to \"${cpprc_path}\"`)\n return\n }\n default: {\n return\n }\n }\n}\n\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport function setupCppInProfile() {\n if (setupCppInProfile_called) {\n return\n }\n\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"export SOURCE_CPPRC=0\"\n\n if (existsSync(cpprc_path)) {\n const cpprc_content = readFileSync(cpprc_path, \"utf8\")\n if (cpprc_content.includes(source_cpprc_str)) {\n // already executed setupCppInProfile\n return\n }\n }\n\n appendFileSync(cpprc_path, `\\n${source_cpprc_str}\\n`)\n info(`Added ${source_cpprc_str} to ${cpprc_path}`)\n\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${cpprc_path}\" ]]; then source \"${cpprc_path}\"; fi\\n`\n\n try {\n // source cpprc in .profile\n const profile_path = untildifyUser(\".profile\")\n appendFileSync(profile_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${profile_path}`)\n\n // source cpprc in .bashrc too\n const bashrc_path = untildifyUser(\".bashrc\")\n appendFileSync(bashrc_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${bashrc_path}`)\n } catch (err) {\n warning(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`)\n }\n\n setupCppInProfile_called = true\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { appendFileSync, existsSync } from \"fs\"\nimport which from \"which\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(\n name: string,\n version?: string,\n repositories: string[] = [],\n update = false\n): Promise {\n const apt: string = getApt()\n\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n\n process.env.DEBIAN_FRONTEND = \"noninteractive\"\n\n if (!didUpdate || update) {\n updateRepos(apt)\n didUpdate = true\n }\n\n if (!didInit) {\n await initApt(apt)\n didInit = true\n }\n\n if (Array.isArray(repositories) && repositories.length !== 0) {\n for (const repo of repositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"--update\", \"-y\", repo])\n }\n updateRepos(apt)\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}=${version}`])\n } catch {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}-${version}`])\n }\n } else {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nfunction getApt() {\n let apt: string\n if (which.sync(\"nala\", { nothrow: true }) !== null) {\n apt = \"nala\"\n } else {\n apt = \"apt-get\"\n }\n return apt\n}\n\nfunction updateRepos(apt: string) {\n execRootSync(apt, apt !== \"nala\" ? [\"update\", \"-y\"] : [\"update\"])\n}\n\n/** Install apt utils and certificates (usually missing from docker containers) */\nasync function initApt(apt: string) {\n execRootSync(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\",\n ])\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\")\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\")\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n await addEnv(\"LANG\", \"C.UTF-8\")\n await addEnv(\"LC_ALL\", \"C.UTF-8\")\n }\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n for (const key of keys) {\n execRootSync(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n }\n return fileName\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n await setupAptPack(\"curl\", undefined)\n execRootSync(\"bash\", [\"-c\", `curl -s ${url} | gpg --no-default-keyring --keyring gnupg-ring:${fileName} --import`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport function updateAptAlternatives(name: string, path: string) {\n if (ciDetect() === \"github-actions\") {\n return execRootSync(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, \"40\"])\n } else {\n setupCppInProfile()\n return appendFileSync(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`\n )\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"ci-log\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport function setupPacmanPack(name: string, version?: string, aur?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (!didUpdate) {\n execRootSync(pacman, [\"-Syuu\", \"--noconfirm\"])\n didUpdate = true\n }\n\n if (!didInit) {\n // install base-devel\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}=${version}`])\n } catch {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}${version}`])\n }\n } else {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport execa from \"execa\"\nimport which from \"which\"\nimport { setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport function setupBrewPack(name: string, version?: string, extraArgs: string[] = []): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n // brew is not thread-safe\n execa.sync(\"brew\", [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name, ...extraArgs], {\n stdio: \"inherit\",\n })\n\n return { binDir: \"/usr/local/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\n\nlet binDir: string | undefined\n\nexport async function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execa.sync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" }\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n\n if (existsSync(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","/* eslint-disable require-atomic-updates */\nimport { addPath } from \"../env/addEnv\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\nimport execa from \"execa\"\nimport { info } from \"@actions/core\"\nimport { notice } from \"ci-log\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise {\n info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n delete env.TMP\n delete env.TEMP\n delete env.Path\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execa.sync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execa.sync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n notice(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir)\n\n return { binDir }\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info, warning } from \"ci-log\"\n\n// let didUpdate: boolean = false\n\n/** A function that installs a package using dnf */\nexport function setupDnfPack(name: string, version?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n\n const dnf = \"dnf\"\n\n // if (!didUpdate) {\n // execRootSync(dnf, [\"-y\", \"check-update\"])\n // didUpdate = true\n // }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(dnf, [\"-y\", \"install\", `${name}-${version}`])\n } catch (err) {\n warning(`${(err as Error).toString()}\\nInstalling the default version available via dnf`)\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n } else {\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n setupDnfPack(\"p7zip\", version)\n return setupDnfPack(\"p7zip-plugins\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"p7zip-full\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { isSudo, execRootSync } from \"root-tools\"\n\n/**\n * Give the user access to the given path and its sub-directories. It changes the owner to the SUDO_USER. This allows\n * the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport function giveUserAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n execRootSync(\"chown\", [\"-R\", process.env.SUDO_USER, path], { cwd: path, stdio: \"inherit\", shell: true })\n }\n}\n",null,"import execa from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"ci-log\"\nimport { giveUserAccess } from \"user-access\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n giveUserAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using 7z\nexport function extractZip(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=0\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, ...flags], { stdio: \"inherit\" })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n giveUserAccess(dest)\n return dest\n}\n","import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"patha\"\nimport { existsSync } from \"fs\"\nimport { tmpdir } from \"os\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The main binary file. */\n binFileName: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: {\n (file: string, dest: string): Promise | Promise\n }\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n}\n\nlet didInit: boolean = false\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform, arch: string) => PackageInfo | Promise,\n setupDir: string,\n arch: string\n): Promise {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch\n )\n\n // Restore from cache (if found).\n if (ciDetect() === \"github-actions\") {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (existsSync(binDir) && existsSync(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n // download ane extract the package into the installation directory.\n if (!existsSync(binDir) || !existsSync(binFile)) {\n info(`Download and extract ${name} ${version}`)\n\n if (!didInit) {\n if (process.platform === \"linux\") {\n // extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"xz\")\n } else if (hasDnf()) {\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"xz\")\n } else if (isUbuntu()) {\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"xz-utils\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n try {\n const downloaded = await downloadTool(url)\n await extractFunction?.(downloaded, setupDir)\n // if (typeof extractedBinDir === \"string\") {\n // binDir = extractedBinDir\n // installDir = extractedBinDir\n // }\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n await addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (ciDetect() === \"github-actions\" && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","import { addExeExt } from \"patha\"\nimport { extractTarByExe, extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const isZip = platform === \"win32\"\n const extension = isZip ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? extractZip : extractTarByExe,\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { extractTar } from \"@actions/tool-cache\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractZip } from \"../utils/setup/extract\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { warning, info } from \"ci-log\"\nimport { isArch } from \"../utils/env/isArch\"\nimport which from \"which\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { dirname, join } from \"patha\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string) {\n if (ciDetect() !== \"github-actions\") {\n // TODO parse version\n return setupPythonViaSystem(version, setupDir, arch)\n }\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n return setupActionsPython(version, setupDir, arch)\n } catch (err) {\n warning((err as Error).toString())\n return setupPythonViaSystem(version, setupDir, arch)\n }\n}\n\nexport async function setupPythonViaSystem(\n version: string,\n setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const pythonBinPath =\n which.sync(\"python3.exe\", { nothrow: true }) ??\n which.sync(\"python.exe\", { nothrow: true }) ??\n join(setupDir, \"python.exe\")\n const pythonSetupDir = dirname(pythonBinPath)\n /** The directory which the tool is installed to */\n await activateWinPython(pythonSetupDir)\n return { installDir: pythonSetupDir, binDir: pythonSetupDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"python3\", version)\n }\n case \"linux\": {\n let installInfo: InstallationInfo\n if (isArch()) {\n installInfo = setupPacmanPack(\"python\", version)\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n installInfo = setupDnfPack(\"python3\", version)\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n installInfo = await setupAptPack(\"python3\", version)\n await setupAptPack(\"python3-pip\")\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n return installInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinPython(binDir: string) {\n info(`Add ${binDir} to PATH`)\n await addPath(binDir)\n}\n","// src/modules/https-utils.ts\nimport { request } from \"https\";\nfunction isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction requestWorks(url, method) {\n return new Promise((resolve) => {\n try {\n const req = request(url, { method }, (result) => {\n resolve(isStatusOK(result));\n });\n req.on(\"error\", (_error) => {\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\n\n// src/modules/isUrlString.ts\nimport { URL } from \"url\";\nvar isUrlString = (url) => {\n if (typeof url !== \"string\") {\n return false;\n }\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) {\n return false;\n }\n try {\n new URL(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n\n// src/modules/isUrlOnline.ts\nvar isUrlOnline = async (url) => {\n const isUrl = isUrlString(url);\n if (!isUrl) {\n return false;\n }\n let response = await requestWorks(url, \"HEAD\");\n if (response) {\n return true;\n }\n response = await requestWorks(url, \"GET\");\n return !!response;\n};\n\n// src/modules/prependHttp.ts\nvar prependHttp = ({\n url,\n https = true\n}) => {\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) {\n return url;\n }\n return trimmedUrl.replace(\n /^(?!(?:\\w+:)?\\/\\/)/u,\n https ? \"https://\" : \"http://\"\n );\n};\nexport {\n isUrlOnline,\n isUrlString,\n prependHttp\n};\n","import { isUrlOnline } from \"is-url-online\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverValid from \"semver/functions/valid\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { info } from \"ci-log\"\n\n/**\n * Gets the specific versions supported by this action compatible with the supplied (specific or minimum) version in\n * descending order of release (e.g., `5.0.2`, `5.0.1`, and `5.0.0` for `5`).\n */\nexport function getSpecificVersions(versions: Set, semversion: string): string[] {\n return Array.from(versions)\n .filter((v) => /^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion))\n .sort()\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise\n): Promise<[string, string]> {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [version, url]\n }\n }\n\n if (!versions.has(version)) {\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n }\n\n for (const specificVersion of getSpecificVersions(versions, version)) {\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [specificVersion, url]\n }\n }\n\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().match(versionRegex)?.[1]\n return version\n } catch (e) {\n console.error(e)\n return undefined\n }\n}\n\n/** Check if the given bin is up to date against the target version */\nexport async function isBinUptoDate(\n givenFile: string,\n targetVersion: string,\n versionRegex: RegExp = defaultVersionRegex\n) {\n const givenVersion = await getBinVersion(givenFile, versionRegex)\n if (\n typeof givenVersion === \"string\" &&\n typeof targetVersion === \"string\" &&\n givenVersion !== \"\" &&\n targetVersion !== \"\"\n ) {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n","import { Inputs, Opts } from \"./main\"\nimport { isArch } from \"./utils/env/isArch\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nconst DefaultVersions: Record = {\n llvm: \"13.0.0\", // https://github.com/llvm/llvm-project/releases\n clangtidy: \"13.0.0\",\n clangformat: \"13.0.0\",\n ninja: \"1.11.0\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.23.2\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.1\", // https://pypi.org/project/gcovr/\n conan: \"1.50.0\", // https://github.com/conan-io/conan/releases\n meson: \"0.63.0\", // https://github.com/mesonbuild/meson/releases\n kcov: \"40\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.14.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.3-1\" : \"1.9.4\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: \"11\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nconst DefaultUbuntuVersion: Record> = {\n llvm: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 20: \"5.1\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"0.63.0\",\n 18: \"0.61.4\",\n },\n nala: {\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 22: \"40\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n}\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined, osVersion: number[] | null = null) {\n if (useDefault(version, name)) {\n // choose the default linux version based on ubuntu version\n if (process.platform === \"linux\" && osVersion !== null && name in DefaultUbuntuVersion) {\n const osVersionMaj = osVersion[0]\n const newest = parseInt(Object.keys(DefaultUbuntuVersion[name])[0], 10) // newest version with the default\n if (osVersionMaj >= newest) {\n return DefaultUbuntuVersion[name][osVersionMaj]\n } else {\n return \"\"\n }\n }\n // anything else\n return DefaultVersions[name]\n } else {\n return version ?? \"\"\n }\n}\n\nfunction useDefault(version: string | undefined, name: string) {\n return version === \"true\" || (version === undefined && name in DefaultVersions)\n}\n\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n for (let i = 0; i < tools.length; i++) {\n // tools excluding i_tool\n const otherTools = tools.slice(0, i).concat(tools.slice(i + 1))\n\n const tool = tools[i]\n\n if (!useDefault(opts[tool], tool)) {\n for (let i_other = 0; i_other < otherTools.length; i_other++) {\n const otherTool = otherTools[i_other]\n const useDefaultOtherTool = useDefault(opts[otherTool], otherTools[i_other])\n if (useDefaultOtherTool) {\n // use the same version if the other tool was requested with the default\n opts[otherTool] = opts[tool]\n } else if (opts[tool] !== opts[otherTools[i_other]]) {\n // error if different from the other given versions\n return false\n }\n }\n }\n }\n return true\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport execa from \"execa\"\nimport which from \"which\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { setupPython } from \"../../python/python\"\nimport { isBinUptoDate } from \"./version\"\nimport { join } from \"patha\"\nimport { getVersion } from \"../../default_versions\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\n\nlet python: string | undefined\nlet binDir: string | undefined\n\nlet tried = false\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pip`)\n\n // setup python and pip if needed\n if (python === undefined) {\n if (which.sync(\"python3\", { nothrow: true }) !== null) {\n python = \"python3\"\n } else if (which.sync(\"python\", { nothrow: true }) !== null && (await isBinUptoDate(\"python\", \"3.0.0\"))) {\n python = \"python\"\n } else {\n info(\"python3 was not found. Installing python\")\n await setupPython(getVersion(\"python\", undefined), \"\", process.arch)\n // try again\n if (tried) {\n throw new Error(\"Failed to install python\")\n }\n tried = true\n return setupPipPack(name, version)\n }\n if (process.platform === \"win32\") {\n // downgrade pip on Windows\n // https://github.com/pypa/pip/issues/10875#issuecomment-1030293005\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"pip==21.3.1\"], { stdio: \"inherit\" })\n } else if (process.platform === \"linux\") {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n if (isArch()) {\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n await setupAptPack(\"python3-pip\")\n }\n }\n\n // install wheel (required for Conan, Meson, etc.)\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"wheel\"], { stdio: \"inherit\" })\n }\n\n execa.sync(python, [\"-m\", \"pip\", \"install\", version !== undefined && version !== \"\" ? `${name}==${version}` : name], {\n stdio: \"inherit\",\n })\n\n if (binDir === undefined) {\n if (process.platform === \"linux\") {\n binDir = \"/home/runner/.local/bin/\"\n } else if (process.platform === \"darwin\") {\n binDir = \"/usr/local/bin/\"\n } else {\n // windows or others\n try {\n binDir = join(\n (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim(),\n \"Scripts\"\n )\n } catch {\n binDir = join(\n (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim(),\n \"Scripts\"\n )\n }\n }\n info(`${binDir} to PATH`)\n await addPath(binDir)\n }\n\n return { binDir }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"graphviz\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"graphviz\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateGraphviz(): Promise {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir)\n return { binDir }\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { addExeExt, join } from \"patha\"\nimport { extractTar, extractZip } from \"../utils/setup/extract\"\nimport { notice } from \"ci-log\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../default_versions\"\nimport { existsSync } from \"fs\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"doxygen.install\", version)\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n const installationInfo = setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || version === undefined || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"doxygen\", version)\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack(\"doxygen\", version)\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n await setupAptPack(\"libclang-cpp9\")\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack(\"doxygen\", undefined)\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]) {\n if (existsSync(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { error } from \"ci-log\"\n\nexport async function setupMacOSSDK() {\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim())\n } else {\n error(`SDKROOT not set`)\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import { addPath, addEnv } from \"../utils/env/addEnv\"\nimport { existsSync } from \"fs\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { join, addExeExt } from \"patha\"\nimport { warning, info } from \"ci-log\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extract7Zip } from \"../utils/setup/extract\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"12\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\",\n },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = setupDnfPack(\"gcc\", version)\n setupDnfPack(\"gcc-c++\", version)\n setupDnfPack(\"libstdc++-devel\", undefined)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n installationInfo = await setupAptPack(\"g++\", version, [])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc-multilib\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && existsSync(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && existsSync(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (existsSync(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(version: string, binDir: string) {\n const promises: Promise[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`)\n // )\n\n if (process.platform === \"win32\") {\n promises.push(addEnv(\"CC\", addExeExt(`${binDir}/gcc`)), addEnv(\"CXX\", addExeExt(`${binDir}/g++`)))\n } else {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`), addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${majorVersion}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${majorVersion}`)\n }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${version}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${version}`)\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (ciDetect() === \"github-actions\") {\n addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nfunction addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { join, addExeExt } from \"patha\"\nimport { delimiter } from \"path\"\nimport semverLte from \"semver/functions/lte\"\nimport semverMajor from \"semver/functions/major\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\nimport {\n getSpecificVersionAndUrl,\n getSpecificVersions,\n getVersions,\n semverCoerceIfInvalid,\n} from \"../utils/setup/version\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { setOutput } from \"@actions/core\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { info, warning } from \"ci-log\"\nimport { existsSync } from \"fs\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { getVersion } from \"../default_versions\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n//================================================\n// Version\n//================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n])\n\n//================================================\n// URL\n//================================================\n\n/** Gets a LLVM download URL for GitHub. */\nfunction getGitHubUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`\n}\n\n/** Gets a LLVM download URL for https://releases.llvm.org. */\nfunction getReleaseUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://releases.llvm.org/${version}/${file}`\n}\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING: Set = new Set([\n \"3.5.1\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.1\",\n \"3.8.1\",\n \"3.9.1\",\n \"6.0.1\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.1\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.1\",\n])\n\n/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_MISSING.has(version)) {\n return null\n }\n\n const darwin = version === \"9.0.0\" ? \"-darwin-apple\" : \"-apple-darwin\"\n const prefix = \"clang+llvm-\"\n const suffix = `-x86_64${darwin}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map = new Map()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_SUFFIX_MAP: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n // \"14.0.1\": \"-ubuntu-18.04\", // only available for powerpc64le\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"14.0.0\"\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let ubuntu: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n ubuntu = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n ubuntu = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n ubuntu = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${ubuntu} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n const suffix = version === \"5.0.0\" ? `-linux-x86_64${ubuntu}.tar.xz` : `-x86_64-linux-gnu${ubuntu}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\"])\n\n/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isUrlOnline(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\n//================================================\n// Exports\n//================================================\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nasync function getLLVMPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n setOutput(\"version\", specificVersion)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addExeExt(\"clang\"),\n extractFunction:\n platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, [\"--strip-components=1\"])\n },\n }\n}\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await _setupLLVM(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir, version)\n return installationInfo\n}\n\nlet didInit = false\nasync function _setupLLVM(version: string, setupDir: string, arch: string) {\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n if (!didInit) {\n if (process.platform === \"linux\") {\n // install llvm build dependencies\n await setupGcc(getVersion(\"gcc\", undefined), \"\", arch) // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n if (isArch()) {\n // setupPacmanPack(\"ncurses\")\n // TODO: install libtinfo ?\n } else if (isUbuntu()) {\n await setupAptPack(\"libtinfo-dev\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n return installationInfo\n}\n\nexport async function activateLLVM(directory: string, versionGiven: string) {\n const version = semverCoerceIfInvalid(versionGiven)\n\n const lib = join(directory, \"lib\")\n\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const promises = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${lib}${delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${lib}${delimiter}${dyld}`),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n\n // compiler paths\n addEnv(\"CC\", addExeExt(`${directory}/bin/clang`)),\n addEnv(\"CXX\", addExeExt(`${directory}/bin/clang++`)),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // windows builds fail with llvm's CPATH\n if (process.platform !== \"win32\") {\n const llvmMajor = semverMajor(version)\n if (existsSync(`${directory}/lib/clang/${version}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n } else if (existsSync(`${directory}/lib/clang/${llvmMajor}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n }\n }\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${directory}/bin/clang`)\n updateAptAlternatives(\"cxx\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"clang\", `${directory}/bin/clang`)\n updateAptAlternatives(\"clang++\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"lld\", `${directory}/bin/lld`)\n updateAptAlternatives(\"ld.lld\", `${directory}/bin/ld.lld`)\n updateAptAlternatives(\"llvm-ar\", `${directory}/bin/llvm-ar`)\n }\n\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\n/** Setup llvm tools (clang tidy, clang format, etc) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string): Promise {\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n return _setupLLVM(version, setupDir, arch)\n}\n\nfunction addLLVMLoggingMatcher() {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n",null,null,"const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n if (uwp == 'true') {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre == 'true') {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, { shell: \"cmd\" }).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd","import { existsSync } from \"fs\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { info } from \"ci-log\"\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (VCTargetsPath !== undefined && existsSync(VCTargetsPath)) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath)\n }\n\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { vsversion_to_versionnumber, findVcvarsall } from \"msvc-dev-cmd/lib.js\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { join } from \"patha\"\nimport { existsSync } from \"fs\"\nimport { error, info, warning } from \"ci-log\"\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (ciDetect() === \"github-actions\") {\n addMSVCLoggingMatcher()\n }\n}\n\nfunction addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { addExeExt } from \"patha\"\nimport { extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","import { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\n\nexport async function ubuntuVersion(): Promise {\n if (isUbuntu()) {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack(\"lsb-release\")\n }\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n throw new Error(\"Failed to get the ubuntu major version.\")\n }\n\n return versionSplitted\n } else {\n return null\n }\n}\n","import execa from \"execa\"\nimport { join, addExeExt } from \"patha\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../default_versions\"\nimport { extractTarByExe } from \"../utils/setup/extract\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version\"\nimport { info } from \"ci-log\"\nimport { untildifyUser } from \"untildify-user\"\nimport { setupNinja } from \"../ninja/ninja\"\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: extractTarByExe,\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, [\"--strip-components=1\"])\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n setupPacmanPack(\"libdwarf\")\n setupPacmanPack(\"libcurl-openssl\")\n } else if (hasDnf()) {\n setupDnfPack(\"libdwarf-devel\")\n setupDnfPack(\"libcurl-devel\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libdw-dev\")\n await setupAptPack(\"libcurl4-openssl-dev\")\n }\n }\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(getVersion(\"cmake\", undefined), join(untildifyUser(\"\"), \"cmake\"), \"\")\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined), join(untildifyUser(\"\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n setupDnfPack(\"binutils\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libbinutils\")\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","import { getInput, endGroup, startGroup, notice } from \"@actions/core\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupMake } from \"./make/make\"\nimport { setupTask } from \"./task/task\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey\"\nimport { setupCmake } from \"./cmake/cmake\"\nimport { setupConan } from \"./conan/conan\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck\"\nimport { setupDoxygen } from \"./doxygen/doxygen\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupLLVM, setupClangTools } from \"./llvm/llvm\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPython } from \"./python/python\"\nimport mri from \"mri\"\nimport { untildifyUser } from \"untildify-user\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport * as timeDelta from \"time-delta\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport * as numerous from \"numerous\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport numerousLocale from \"numerous/locales/en.js\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\n\nimport semverValid from \"semver/functions/valid\"\nimport { getVersion, syncVersions } from \"./default_versions\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { error, info, success, warning } from \"ci-log\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { join } from \"patha\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupBazel } from \"./bazel/bazel\"\nimport { setupPowershell } from \"./powershell/powershell\"\n\n/** The setup functions */\nconst setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n powershell: setupPowershell,\n ccache: setupCcache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangTools,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\n/** The tools that can be installed */\nconst tools: Array = [\n \"nala\",\n \"choco\",\n \"brew\",\n \"python\",\n \"powershell\",\n \"vcpkg\",\n \"bazel\",\n \"cmake\",\n \"ninja\",\n \"conan\",\n \"meson\",\n \"gcovr\",\n \"opencppcoverage\",\n \"ccache\",\n \"doxygen\",\n \"graphviz\",\n \"cppcheck\",\n \"clangtidy\",\n \"clangformat\",\n \"llvm\",\n \"gcc\",\n \"msvc\",\n \"vcvarsall\",\n \"kcov\",\n \"make\",\n \"task\",\n \"sevenzip\",\n]\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\"\n\n// an array of possible inputs\nconst inputs: Array = [\"compiler\", \"architecture\", ...tools]\n\n/** The main entry function */\nexport async function main(args: string[]): Promise {\n if (ciDetect() !== \"github-actions\") {\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? untildifyUser(\"\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n let osVersion: number[] | null = null\n try {\n // get the version if not already done\n osVersion = await ubuntuVersion()\n } catch (err) {\n warning((err as Error).toString())\n }\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\n\n // loop over the tools and run their setup function\n for (const tool of tools) {\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n startGroup(`Installing ${tool} ${version}`)\n try {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(\n getVersion(tool, version, osVersion),\n undefined,\n arch,\n undefined,\n undefined,\n false,\n false\n )\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool) ? \"llvm\" : tool)\n\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction(getVersion(tool, version, osVersion), setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n time1 = Date.now()\n try {\n if (maybeCompiler !== undefined) {\n const { compiler, version } = getCompilerInfo(maybeCompiler)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const installationInfo = await setupGcc(getVersion(\"gcc\", version, osVersion), join(setupCppDir, \"gcc\"), arch)\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\"), addEnv(\"CXX\", \"clang++\")])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n } catch (e) {\n error(e as string | Error)\n errorMessages.push(`Failed to install the ${maybeCompiler}`)\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup_cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => success(tool))\n errorMessages.forEach((tool) => error(tool))\n\n info(\"setup_cpp finished\")\n\n if (ciDetect() !== \"github-actions\") {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\n// Run main\nmain(process.argv)\n .then((ret) => {\n process.exitCode = ret\n })\n .catch((err) => {\n error(\"main() panicked!\")\n error(err as string | Error)\n process.exitCode = 1\n })\n\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n }\n>\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: inputs,\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(maybeCompiler: string) {\n const compilerAndMaybeVersion = maybeCompiler.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\nfunction printHelp() {\n info(`\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n\n--tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n `)\n}\n\n/** Get an object from github actions */\nfunction maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\n\nfunction getSuccessMessage(tool: string, installationInfo: InstallationInfo | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n",null,null,null,null,"import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;",null,null,null,"module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n",null,null,null,"import { basename, extname } from \"path\"\n\n/**\n * Get the name of the given file path.\n *\n * By default the file extension is included in the returned name. To remove the extension, set the second parameter to `false`.\n *\n * @example\n *\n * ```js\n * import { name } from \"patha\"\n *\n * name(\"path/to/file.md\") // gives \"file.md\"\n *\n * name(\"path/to/file.md\", false) // gives \"file\"\n * ```\n *\n * @param path The given file path\n * @param includeExtension If the name should include the file extension as well\n * @returns The base name without the extension\n */\nexport function name(path: string, includeExtension: boolean = true) {\n if (includeExtension) {\n return basename(path)\n } else {\n return basename(path, extname(path))\n }\n}\n","import { normalize, sep } from \"path\"\nimport escapeRegexp from \"escape-string-regexp\"\n\n/**\n * Normalizes the path and removes the trailing slashes.\n *\n * @example\n *\n * ```js\n * import { normalize, normalizeTrim } from \"patha\"\n *\n * normalizeTrim(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf\"\n *\n * normalize(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf/\"\n * ```\n *\n * @param path The given file path\n * @returns The normalized and trimmed file path\n */\nexport function normalizeTrim(path: string) {\n return normalize(path).replace(new RegExp(`${escapeRegexp(sep)}$`), \"\")\n}\n","export default function escapeStringRegexp(string) {\n\tif (typeof string !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\t// Escape characters with special meaning either inside or outside character sets.\n\t// Use a simple backslash escape when it’s always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n\treturn string\n\t\t.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&')\n\t\t.replace(/-/g, '\\\\x2d');\n}\n","/**\n * Add bin extension to the given binary name.\n *\n * @example\n *\n * ```js\n * import { addExeExt } from \"patha\"\n *\n * addExeExt(\"path/to/file-name\") // gives \"path/to/file-name.exe\" on Windows and \"path/to/file-name\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext Defaults to `.exe` on Windows\n * @param other_ext Defaults to `\"\"` On other platforms.\n */\nexport function addExeExt(name: string, win_ext = \".exe\", other_ext = \"\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a prefix to the start of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNamePrefix } from \"patha\"\n *\n * addNamePrefix(\"path/to/file-name.ext\", \"new-\") // gives \"path/to/new-file-name.ext\"\n * ```\n *\n * @param path The given file path\n * @param prefix The prefix to add to the start of the file name\n * @returns The path with a prefix added to its file name\n */\nexport function addNamePrefix(path: string, prefix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name prefix\n const NameWithPrefix = `${prefix}${nameWithoutExt}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithPrefix)\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a suffix to the end of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNameSuffix } from \"patha\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \"-old\") // gives \"path/to/file-name-old.ext\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \".test\") // gives \"path/to/file-name.test.ext\"\n * ```\n *\n * @param path The given file path\n * @param suffix The suffix to add to the end of the file name\n * @returns The path with a suffix added to its file name\n */\nexport function addNameSuffix(path: string, suffix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name suffix\n const NameWithSuffix = `${nameWithoutExt}${suffix}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithSuffix)\n}\n","/**\n * Add a native shell extension to the given name.\n *\n * @example\n *\n * ```js\n * import { addShExt } from \"patha\"\n *\n * addShExt(\"path/to/file-name\") // gives \"path/to/file-name.cmd\" on Windows and \"path/to/file-name.sh\" on others\n *\n * addShExt(\"path/to/file-name\", \".bat\") // gives \"path/to/file-name.bat\" on Windows and \"path/to/file-name.sh\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.cmd` on Windows\n * @param other_ext `.sh` On others.\n * @returns The file path with the shell extension added\n */\nexport function addShExt(name: string, win_ext = \".cmd\", other_ext = \".sh\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","/**\n * Prefix a `./` for unix shell and nothing for `cmd`.\n *\n * @example\n *\n * ```js\n * import { addShRelativePrefix } from \"patha\"\n *\n * addShRelativePrefix(\"some/file-name\") // gives \"some/file-name\" on Windows and \"./some/file-name\" on others.\n * ```\n *\n * @param path The given path\n * @returns The path with `./` added on Unix\n */\nexport function addShRelativePrefix(path: string) {\n if (process.platform === \"win32\") {\n return path\n }\n return `./${path}`\n}\n","import { extname } from \"path\"\n\n/**\n * Remove a path's extension.\n *\n * @example\n *\n * ```js\n * import { removeExt } from \"patha\"\n *\n * removeExt(\"some/dir/file.ext\") // gives \"some/dir/file\"\n * ```\n *\n * @param path The given path\n * @returns The path without its file extension\n */\nexport function removeExt(path: string) {\n const extensionLength = extname(path).length\n return path.slice(0, -extensionLength)\n}\n","import replaceExtOrig from \"replace-ext\"\n\n/**\n * Replaces the extension from path with extension and returns the updated path string.\n *\n * Does not replace the extension if path is not a string or is empty.\n *\n * @example\n *\n * ```js\n * import { replaceExt } from \"patha\"\n *\n * replaceExt(\"path/to/file.md\", \".html\") // gives \"path/to/file.html\"\n * ```\n *\n * @param path The given path\n * @param extension The extension to replace\n */\nexport function replaceExt(path: string, extension: string) {\n // TODO replaceExt should not change `/` to `\\\\` on Windows\n return replaceExtOrig(path, extension)\n}\n","import { relative, resolve, sep } from \"path\"\n\n/**\n * Check if a path is inside another path.\n *\n * Note that relative paths are resolved against `process.cwd()` to make them absolute.\n *\n * This function does not check if the paths exist and it only works with strings.\n *\n * @example\n *\n * ```js\n * import { isPathInside } from \"patha\"\n *\n * isPathInside(\"a/b/c\", \"a/b\")\n * //=> true\n *\n * isPathInside(\"a/b/c\", \"x/y\")\n * //=> false\n *\n * isPathInside(\"a/b/c\", \"a/b/c\")\n * //=> false\n *\n * isPathInside(\"/Users/some/dev/aa\", \"/Users/some\")\n * //=> true\n * ```\n */\nexport function isPathInside(childPath: string, parentPath: string): boolean {\n // copied from is-path-inside because the package uses node:path that can't be bundled for the browser\n\n const relation = relative(parentPath, childPath)\n\n return Boolean(relation && relation !== \"..\" && !relation.startsWith(`..${sep}`) && relation !== resolve(childPath))\n}\n","'use strict';\n\nvar path = require('path');\n\nfunction replaceExt(npath, ext) {\n if (typeof npath !== 'string') {\n return npath;\n }\n\n if (npath.length === 0) {\n return npath;\n }\n\n var nFileName = path.basename(npath, path.extname(npath)) + ext;\n var nFilepath = path.join(path.dirname(npath), nFileName);\n\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if (startsWithSingleDot(npath)) {\n return '.' + path.sep + nFilepath;\n }\n\n return nFilepath;\n}\n\nfunction startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === '.' + path.sep || first2chars === './';\n}\n\nmodule.exports = replaceExt;\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n","// This is not the set of all possible signals.\n//\n// It IS, however, the set of all signals that trigger\n// an exit on either Linux or BSD systems. Linux is a\n// superset of the signal names supported on BSD, and\n// the unknown signals just fail to register, so we can\n// catch that easily enough.\n//\n// Don't bother with SIGKILL. It's uncatchable, which\n// means that we can't fire any callbacks anyway.\n//\n// If a user does happen to register a handler on a non-\n// fatal signal like SIGWINCH or something, and then\n// exit, it'll end up firing `process.emit('exit')`, so\n// the handler will be fired anyway.\n//\n// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n// artificially, inherently leave the process in a\n// state from which it is not safe to try and enter JS\n// listeners.\nmodule.exports = [\n 'SIGABRT',\n 'SIGALRM',\n 'SIGHUP',\n 'SIGINT',\n 'SIGTERM'\n]\n\nif (process.platform !== 'win32') {\n module.exports.push(\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n module.exports.push(\n 'SIGIO',\n 'SIGPOLL',\n 'SIGPWR',\n 'SIGSTKFLT',\n 'SIGUNUSED'\n )\n}\n","module.exports = () =>\n process.env.GERRIT_PROJECT ? 'gerrit'\n : process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI ? 'azure-pipelines'\n : process.env.BITRISE_IO ? 'bitrise'\n : process.env.BUDDY_WORKSPACE_ID ? 'buddy'\n : process.env.BUILDKITE ? 'buildkite'\n : process.env.CIRRUS_CI ? 'cirrus'\n : process.env.GITLAB_CI ? 'gitlab'\n : process.env.APPVEYOR ? 'appveyor'\n : process.env.CIRCLECI ? 'circle-ci'\n : process.env.SEMAPHORE ? 'semaphore'\n : process.env.DRONE ? 'drone'\n : process.env.DSARI ? 'dsari'\n : process.env.GITHUB_ACTION ? 'github-actions'\n : process.env.TDDIUM ? 'tddium'\n : process.env.SCREWDRIVER ? 'screwdriver'\n : process.env.STRIDER ? 'strider'\n : process.env.TASKCLUSTER_ROOT_URL ? 'taskcluster'\n : process.env.JENKINS_URL ? 'jenkins'\n : process.env['bamboo.buildKey'] ? 'bamboo'\n : process.env.GO_PIPELINE_NAME ? 'gocd'\n : process.env.HUDSON_URL ? 'hudson'\n : process.env.WERCKER ? 'wercker'\n : process.env.NETLIFY ? 'netlify'\n : process.env.NOW_GITHUB_DEPLOYMENT ? 'now-github'\n : process.env.GITLAB_DEPLOYMENT ? 'now-gitlab'\n : process.env.BITBUCKET_DEPLOYMENT ? 'now-bitbucket'\n : process.env.BITBUCKET_BUILD_NUMBER ? 'bitbucket-pipelines'\n : process.env.NOW_BUILDER ? 'now'\n : process.env.VERCEL_GITHUB_DEPLOYMENT ? 'vercel-github'\n : process.env.VERCEL_GITLAB_DEPLOYMENT ? 'vercel-gitlab'\n : process.env.VERCEL_BITBUCKET_DEPLOYMENT ? 'vercel-bitbucket'\n : process.env.VERCEL_URL ? 'vercel'\n : process.env.MAGNUM ? 'magnum'\n : process.env.NEVERCODE ? 'nevercode'\n : process.env.RENDER ? 'render'\n : process.env.SAIL_CI ? 'sail'\n : process.env.SHIPPABLE ? 'shippable'\n : process.env.TEAMCITY_VERSION ? 'teamcity'\n // codeship and a few others\n : process.env.CI_NAME ? process.env.CI_NAME\n // heroku doesn't set envs other than node in a heroku-specific location\n : /\\/\\.heroku\\/node\\/bin\\/node$/.test(process.env.NODE || '') ? 'heroku'\n // test travis after the others, since several CI systems mimic it\n : process.env.TRAVIS ? 'travis-ci'\n // aws CodeBuild/CodePipeline\n : process.env.CODEBUILD_SRC_DIR ? 'aws-codebuild'\n : process.env.CI === 'true' || process.env.CI === '1' ? 'custom'\n // Google Cloud Build - it sets almost nothing\n : process.env.BUILDER_OUTPUT ? 'builder'\n : false\n","import * as core from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\n\nexport function error(err: string | Error) {\n return ciDetect() === \"github-actions\" ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n\nexport function warning(msg: string) {\n return ciDetect() === \"github-actions\" ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return ciDetect() === \"github-actions\" ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return ciDetect() === \"github-actions\" ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,null,null,null,null,null,null,"// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nmodule.exports = {\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: require('./internal/constants').SEMVER_SPEC_VERSION,\n SemVer: require('./classes/semver'),\n compareIdentifiers: require('./internal/identifiers').compareIdentifiers,\n rcompareIdentifiers: require('./internal/identifiers').rcompareIdentifiers,\n parse: require('./functions/parse'),\n valid: require('./functions/valid'),\n clean: require('./functions/clean'),\n inc: require('./functions/inc'),\n diff: require('./functions/diff'),\n major: require('./functions/major'),\n minor: require('./functions/minor'),\n patch: require('./functions/patch'),\n prerelease: require('./functions/prerelease'),\n compare: require('./functions/compare'),\n rcompare: require('./functions/rcompare'),\n compareLoose: require('./functions/compare-loose'),\n compareBuild: require('./functions/compare-build'),\n sort: require('./functions/sort'),\n rsort: require('./functions/rsort'),\n gt: require('./functions/gt'),\n lt: require('./functions/lt'),\n eq: require('./functions/eq'),\n neq: require('./functions/neq'),\n gte: require('./functions/gte'),\n lte: require('./functions/lte'),\n cmp: require('./functions/cmp'),\n coerce: require('./functions/coerce'),\n Comparator: require('./classes/comparator'),\n Range: require('./classes/range'),\n satisfies: require('./functions/satisfies'),\n toComparators: require('./ranges/to-comparators'),\n maxSatisfying: require('./ranges/max-satisfying'),\n minSatisfying: require('./ranges/min-satisfying'),\n minVersion: require('./ranges/min-version'),\n validRange: require('./ranges/valid'),\n outside: require('./ranges/outside'),\n gtr: require('./ranges/gtr'),\n ltr: require('./ranges/ltr'),\n intersects: require('./ranges/intersects'),\n simplifyRange: require('./ranges/simplify'),\n subset: require('./ranges/subset'),\n}\n","const { MAX_SAFE_COMPONENT_LENGTH } = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst createToken = (name, value, isGlobal) => {\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '[0-9]+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*')\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+')\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCE', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$')\n","// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n/* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\nmodule.exports = {\n SEMVER_SPEC_VERSION,\n MAX_LENGTH,\n MAX_SAFE_INTEGER,\n MAX_SAFE_COMPONENT_LENGTH,\n}\n","const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier)\n this.inc('pre', identifier)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier)\n }\n this.inc('pre', identifier)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre':\n if (this.prerelease.length === 0) {\n this.prerelease = [0]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n this.prerelease.push(0)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = [identifier, 0]\n }\n } else {\n this.prerelease = [identifier, 0]\n }\n }\n break\n\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.format()\n this.raw = this.version\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about so we always get a consistent\n// obj with keys in a consistent order.\nconst opts = ['includePrerelease', 'loose', 'rtl']\nconst parseOptions = options =>\n !options ? {}\n : typeof options !== 'object' ? { loose: true }\n : opts.filter(k => options[k]).reduce((o, k) => {\n o[k] = true\n return o\n }, {})\nmodule.exports = parseOptions\n","const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers,\n}\n","const { MAX_LENGTH } = require('../internal/constants')\nconst { re, t } = require('../internal/re')\nconst SemVer = require('../classes/semver')\n\nconst parseOptions = require('../internal/parse-options')\nconst parse = (version, options) => {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n if (version.length > MAX_LENGTH) {\n return null\n }\n\n const r = options.loose ? re[t.LOOSE] : re[t.FULL]\n if (!r.test(version)) {\n return null\n }\n\n try {\n return new SemVer(version, options)\n } catch (er) {\n return null\n }\n}\n\nmodule.exports = parse\n","const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier) => {\n if (typeof (options) === 'string') {\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse')\nconst eq = require('./eq')\n\nconst diff = (version1, version2) => {\n if (eq(version1, version2)) {\n return null\n } else {\n const v1 = parse(version1)\n const v2 = parse(version2)\n const hasPre = v1.prerelease.length || v2.prerelease.length\n const prefix = hasPre ? 'pre' : ''\n const defaultResult = hasPre ? 'prerelease' : ''\n for (const key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return prefix + key\n }\n }\n }\n return defaultResult // may be undefined\n }\n}\nmodule.exports = diff\n","const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","const compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","const SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","const compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { re, t } = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n let next\n while ((next = re[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false,\n }\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n const sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n const sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n const sameSemVer = this.semver.version === comp.semver.version\n const differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n const oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<')\n const oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>')\n\n return (\n sameDirectionIncreasing ||\n sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan ||\n oppositeDirectionsGreaterThan\n )\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.format()\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First, split based on boolean or ||\n this.raw = range\n this.set = range\n .split('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${range}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0) {\n this.set = [first]\n } else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.format()\n }\n\n format () {\n this.range = this.set\n .map((comps) => {\n return comps.join(' ').trim()\n })\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n range = range.trim()\n\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = Object.keys(this.options).join(',')\n const memoKey = `parseRange:${memoOpts}:${range}`\n const cached = cache.get(memoKey)\n if (cached) {\n return cached\n }\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range)\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n\n // normalize spaces\n range = range.split(/\\s+/).join(' ')\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n let rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\nmodule.exports = Range\n\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\nconst replaceTildes = (comp, options) =>\n comp.trim().split(/\\s+/).map((c) => {\n return replaceTilde(c, options)\n }).join(' ')\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\nconst replaceCarets = (comp, options) =>\n comp.trim().split(/\\s+/).map((c) => {\n return replaceCaret(c, options)\n }).join(' ')\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map((c) => {\n return replaceXRange(c, options)\n }).join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<') {\n pr = '-0'\n }\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp.trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return (`${from} ${to}`).trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","const perf = typeof performance === 'object' && performance &&\n typeof performance.now === 'function' ? performance : Date\n\nconst hasAbortController = typeof AbortController !== 'undefined'\n\n// minimal backwards-compatibility polyfill\nconst AC = hasAbortController ? AbortController : Object.assign(\n class AbortController {\n constructor () { this.signal = new AC.AbortSignal }\n abort () { this.signal.aborted = true }\n },\n { AbortSignal: class AbortSignal { constructor () { this.aborted = false }}}\n)\n\nconst warned = new Set()\nconst deprecatedOption = (opt, instead) => {\n const code = `LRU_CACHE_OPTION_${opt}`\n if (shouldWarn(code)) {\n warn(code, `${opt} option`, `options.${instead}`, LRUCache)\n }\n}\nconst deprecatedMethod = (method, instead) => {\n const code = `LRU_CACHE_METHOD_${method}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, method)\n warn(code, `${method} method`, `cache.${instead}()`, get)\n }\n}\nconst deprecatedProperty = (field, instead) => {\n const code = `LRU_CACHE_PROPERTY_${field}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, field)\n warn(code, `${field} property`, `cache.${instead}`, get)\n }\n}\n\nconst emitWarning = (...a) => {\n typeof process === 'object' &&\n process &&\n typeof process.emitWarning === 'function'\n ? process.emitWarning(...a)\n : console.error(...a)\n}\n\nconst shouldWarn = code => !warned.has(code)\n\nconst warn = (code, what, instead, fn) => {\n warned.add(code)\n const msg = `The ${what} is deprecated. Please use ${instead} instead.`\n emitWarning(msg, 'DeprecationWarning', code, fn)\n}\n\nconst isPosInt = n => n && n === Math.floor(n) && n > 0 && isFinite(n)\n\n/* istanbul ignore next - This is a little bit ridiculous, tbh.\n * The maximum array length is 2^32-1 or thereabouts on most JS impls.\n * And well before that point, you're caching the entire world, I mean,\n * that's ~32GB of just integers for the next/prev links, plus whatever\n * else to hold that many keys and values. Just filling the memory with\n * zeroes at init time is brutal when you get that big.\n * But why not be complete?\n * Maybe in the future, these limits will have expanded. */\nconst getUintArray = max => !isPosInt(max) ? null\n: max <= Math.pow(2, 8) ? Uint8Array\n: max <= Math.pow(2, 16) ? Uint16Array\n: max <= Math.pow(2, 32) ? Uint32Array\n: max <= Number.MAX_SAFE_INTEGER ? ZeroArray\n: null\n\nclass ZeroArray extends Array {\n constructor (size) {\n super(size)\n this.fill(0)\n }\n}\n\nclass Stack {\n constructor (max) {\n if (max === 0) {\n return []\n }\n const UintArray = getUintArray(max)\n this.heap = new UintArray(max)\n this.length = 0\n }\n push (n) {\n this.heap[this.length++] = n\n }\n pop () {\n return this.heap[--this.length]\n }\n}\n\nclass LRUCache {\n constructor (options = {}) {\n const {\n max = 0,\n ttl,\n ttlResolution = 1,\n ttlAutopurge,\n updateAgeOnGet,\n updateAgeOnHas,\n allowStale,\n dispose,\n disposeAfter,\n noDisposeOnSet,\n noUpdateTTL,\n maxSize = 0,\n sizeCalculation,\n fetchMethod,\n } = options\n\n // deprecated options, don't trigger a warning for getting them if\n // the thing being passed in is another LRUCache we're copying.\n const {\n length,\n maxAge,\n stale,\n } = options instanceof LRUCache ? {} : options\n\n if (max !== 0 && !isPosInt(max)) {\n throw new TypeError('max option must be a nonnegative integer')\n }\n\n const UintArray = max ? getUintArray(max) : Array\n if (!UintArray) {\n throw new Error('invalid max value: ' + max)\n }\n\n this.max = max\n this.maxSize = maxSize\n this.sizeCalculation = sizeCalculation || length\n if (this.sizeCalculation) {\n if (!this.maxSize) {\n throw new TypeError('cannot set sizeCalculation without setting maxSize')\n }\n if (typeof this.sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation set to non-function')\n }\n }\n\n this.fetchMethod = fetchMethod || null\n if (this.fetchMethod && typeof this.fetchMethod !== 'function') {\n throw new TypeError('fetchMethod must be a function if specified')\n }\n\n this.keyMap = new Map()\n this.keyList = new Array(max).fill(null)\n this.valList = new Array(max).fill(null)\n this.next = new UintArray(max)\n this.prev = new UintArray(max)\n this.head = 0\n this.tail = 0\n this.free = new Stack(max)\n this.initialFill = 1\n this.size = 0\n\n if (typeof dispose === 'function') {\n this.dispose = dispose\n }\n if (typeof disposeAfter === 'function') {\n this.disposeAfter = disposeAfter\n this.disposed = []\n } else {\n this.disposeAfter = null\n this.disposed = null\n }\n this.noDisposeOnSet = !!noDisposeOnSet\n this.noUpdateTTL = !!noUpdateTTL\n\n if (this.maxSize !== 0) {\n if (!isPosInt(this.maxSize)) {\n throw new TypeError('maxSize must be a positive integer if specified')\n }\n this.initializeSizeTracking()\n }\n\n this.allowStale = !!allowStale || !!stale\n this.updateAgeOnGet = !!updateAgeOnGet\n this.updateAgeOnHas = !!updateAgeOnHas\n this.ttlResolution = isPosInt(ttlResolution) || ttlResolution === 0\n ? ttlResolution : 1\n this.ttlAutopurge = !!ttlAutopurge\n this.ttl = ttl || maxAge || 0\n if (this.ttl) {\n if (!isPosInt(this.ttl)) {\n throw new TypeError('ttl must be a positive integer if specified')\n }\n this.initializeTTLTracking()\n }\n\n // do not allow completely unbounded caches\n if (this.max === 0 && this.ttl === 0 && this.maxSize === 0) {\n throw new TypeError('At least one of max, maxSize, or ttl is required')\n }\n if (!this.ttlAutopurge && !this.max && !this.maxSize) {\n const code = 'LRU_CACHE_UNBOUNDED'\n if (shouldWarn(code)) {\n warned.add(code)\n const msg = 'TTL caching without ttlAutopurge, max, or maxSize can ' +\n 'result in unbounded memory consumption.'\n emitWarning(msg, 'UnboundedCacheWarning', code, LRUCache)\n }\n }\n\n if (stale) {\n deprecatedOption('stale', 'allowStale')\n }\n if (maxAge) {\n deprecatedOption('maxAge', 'ttl')\n }\n if (length) {\n deprecatedOption('length', 'sizeCalculation')\n }\n }\n\n getRemainingTTL (key) {\n return this.has(key, { updateAgeOnHas: false }) ? Infinity : 0\n }\n\n initializeTTLTracking () {\n this.ttls = new ZeroArray(this.max)\n this.starts = new ZeroArray(this.max)\n\n this.setItemTTL = (index, ttl) => {\n this.starts[index] = ttl !== 0 ? perf.now() : 0\n this.ttls[index] = ttl\n if (ttl !== 0 && this.ttlAutopurge) {\n const t = setTimeout(() => {\n if (this.isStale(index)) {\n this.delete(this.keyList[index])\n }\n }, ttl + 1)\n /* istanbul ignore else - unref() not supported on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n }\n\n this.updateItemAge = (index) => {\n this.starts[index] = this.ttls[index] !== 0 ? perf.now() : 0\n }\n\n // debounce calls to perf.now() to 1s so we're not hitting\n // that costly call repeatedly.\n let cachedNow = 0\n const getNow = () => {\n const n = perf.now()\n if (this.ttlResolution > 0) {\n cachedNow = n\n const t = setTimeout(() => cachedNow = 0, this.ttlResolution)\n /* istanbul ignore else - not available on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n return n\n }\n\n this.getRemainingTTL = (key) => {\n const index = this.keyMap.get(key)\n if (index === undefined) {\n return 0\n }\n return this.ttls[index] === 0 || this.starts[index] === 0 ? Infinity\n : ((this.starts[index] + this.ttls[index]) - (cachedNow || getNow()))\n }\n\n this.isStale = (index) => {\n return this.ttls[index] !== 0 && this.starts[index] !== 0 &&\n ((cachedNow || getNow()) - this.starts[index] > this.ttls[index])\n }\n }\n updateItemAge (index) {}\n setItemTTL (index, ttl) {}\n isStale (index) { return false }\n\n initializeSizeTracking () {\n this.calculatedSize = 0\n this.sizes = new ZeroArray(this.max)\n this.removeItemSize = index => this.calculatedSize -= this.sizes[index]\n this.requireSize = (k, v, size, sizeCalculation) => {\n if (!isPosInt(size)) {\n if (sizeCalculation) {\n if (typeof sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation must be a function')\n }\n size = sizeCalculation(v, k)\n if (!isPosInt(size)) {\n throw new TypeError('sizeCalculation return invalid (expect positive integer)')\n }\n } else {\n throw new TypeError('invalid size value (must be positive integer)')\n }\n }\n return size\n }\n this.addItemSize = (index, v, k, size) => {\n this.sizes[index] = size\n const maxSize = this.maxSize - this.sizes[index]\n while (this.calculatedSize > maxSize) {\n this.evict(true)\n }\n this.calculatedSize += this.sizes[index]\n }\n this.delete = k => {\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n this.calculatedSize -= this.sizes[index]\n }\n }\n return LRUCache.prototype.delete.call(this, k)\n }\n }\n removeItemSize (index) {}\n addItemSize (index, v, k, size) {}\n requireSize (k, v, size, sizeCalculation) {\n if (size || sizeCalculation) {\n throw new TypeError('cannot set size without setting maxSize on cache')\n }\n }\n\n *indexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.tail; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.head) {\n break\n } else {\n i = this.prev[i]\n }\n }\n }\n }\n\n *rindexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.head; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.tail) {\n break\n } else {\n i = this.next[i]\n }\n }\n }\n }\n\n isValidIndex (index) {\n return this.keyMap.get(this.keyList[index]) === index\n }\n\n *entries () {\n for (const i of this.indexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n *rentries () {\n for (const i of this.rindexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n\n *keys () {\n for (const i of this.indexes()) {\n yield this.keyList[i]\n }\n }\n *rkeys () {\n for (const i of this.rindexes()) {\n yield this.keyList[i]\n }\n }\n\n *values () {\n for (const i of this.indexes()) {\n yield this.valList[i]\n }\n }\n *rvalues () {\n for (const i of this.rindexes()) {\n yield this.valList[i]\n }\n }\n\n [Symbol.iterator] () {\n return this.entries()\n }\n\n find (fn, getOptions = {}) {\n for (const i of this.indexes()) {\n if (fn(this.valList[i], this.keyList[i], this)) {\n return this.get(this.keyList[i], getOptions)\n }\n }\n }\n\n forEach (fn, thisp = this) {\n for (const i of this.indexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n rforEach (fn, thisp = this) {\n for (const i of this.rindexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n get prune () {\n deprecatedMethod('prune', 'purgeStale')\n return this.purgeStale\n }\n\n purgeStale () {\n let deleted = false\n for (const i of this.rindexes({ allowStale: true })) {\n if (this.isStale(i)) {\n this.delete(this.keyList[i])\n deleted = true\n }\n }\n return deleted\n }\n\n dump () {\n const arr = []\n for (const i of this.indexes()) {\n const key = this.keyList[i]\n const value = this.valList[i]\n const entry = { value }\n if (this.ttls) {\n entry.ttl = this.ttls[i]\n }\n if (this.sizes) {\n entry.size = this.sizes[i]\n }\n arr.unshift([key, entry])\n }\n return arr\n }\n\n load (arr) {\n this.clear()\n for (const [key, entry] of arr) {\n this.set(key, entry.value, entry)\n }\n }\n\n dispose (v, k, reason) {}\n\n set (k, v, {\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n size = this.requireSize(k, v, size, sizeCalculation)\n let index = this.size === 0 ? undefined : this.keyMap.get(k)\n if (index === undefined) {\n // addition\n index = this.newIndex()\n this.keyList[index] = k\n this.valList[index] = v\n this.keyMap.set(k, index)\n this.next[this.tail] = index\n this.prev[index] = this.tail\n this.tail = index\n this.size ++\n this.addItemSize(index, v, k, size)\n noUpdateTTL = false\n } else {\n // update\n const oldVal = this.valList[index]\n if (v !== oldVal) {\n if (this.isBackgroundFetch(oldVal)) {\n oldVal.__abortController.abort()\n } else {\n if (!noDisposeOnSet) {\n this.dispose(oldVal, k, 'set')\n if (this.disposeAfter) {\n this.disposed.push([oldVal, k, 'set'])\n }\n }\n }\n this.removeItemSize(index)\n this.valList[index] = v\n this.addItemSize(index, v, k, size)\n }\n this.moveToTail(index)\n }\n if (ttl !== 0 && this.ttl === 0 && !this.ttls) {\n this.initializeTTLTracking()\n }\n if (!noUpdateTTL) {\n this.setItemTTL(index, ttl)\n }\n if (this.disposeAfter) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return this\n }\n\n newIndex () {\n if (this.size === 0) {\n return this.tail\n }\n if (this.size === this.max && this.max !== 0) {\n return this.evict(false)\n }\n if (this.free.length !== 0) {\n return this.free.pop()\n }\n // initial fill, just keep writing down the list\n return this.initialFill++\n }\n\n pop () {\n if (this.size) {\n const val = this.valList[this.head]\n this.evict(true)\n return val\n }\n }\n\n evict (free) {\n const head = this.head\n const k = this.keyList[head]\n const v = this.valList[head]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'evict')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'evict'])\n }\n }\n this.removeItemSize(head)\n // if we aren't about to use the index, then null these out\n if (free) {\n this.keyList[head] = null\n this.valList[head] = null\n this.free.push(head)\n }\n this.head = this.next[head]\n this.keyMap.delete(k)\n this.size --\n return head\n }\n\n has (k, { updateAgeOnHas = this.updateAgeOnHas } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n if (!this.isStale(index)) {\n if (updateAgeOnHas) {\n this.updateItemAge(index)\n }\n return true\n }\n }\n return false\n }\n\n // like get(), but without any LRU updating or TTL expiration\n peek (k, { allowStale = this.allowStale } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined && (allowStale || !this.isStale(index))) {\n return this.valList[index]\n }\n }\n\n backgroundFetch (k, index, options) {\n const v = index === undefined ? undefined : this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return v\n }\n const ac = new AC()\n const fetchOpts = {\n signal: ac.signal,\n options,\n }\n const p = Promise.resolve(this.fetchMethod(k, v, fetchOpts)).then(v => {\n if (!ac.signal.aborted) {\n this.set(k, v, fetchOpts.options)\n }\n return v\n })\n p.__abortController = ac\n p.__staleWhileFetching = v\n if (index === undefined) {\n this.set(k, p, fetchOpts.options)\n index = this.keyMap.get(k)\n } else {\n this.valList[index] = p\n }\n return p\n }\n\n isBackgroundFetch (p) {\n return p && typeof p === 'object' && typeof p.then === 'function' &&\n Object.prototype.hasOwnProperty.call(p, '__staleWhileFetching')\n }\n\n // this takes the union of get() and set() opts, because it does both\n async fetch (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n if (!this.fetchMethod) {\n return this.get(k, {allowStale, updateAgeOnGet})\n }\n\n const options = {\n allowStale,\n updateAgeOnGet,\n ttl,\n noDisposeOnSet,\n size,\n sizeCalculation,\n noUpdateTTL,\n }\n\n let index = this.keyMap.get(k)\n if (index === undefined) {\n return this.backgroundFetch(k, index, options)\n } else {\n // in cache, maybe already fetching\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return allowStale && v.__staleWhileFetching !== undefined\n ? v.__staleWhileFetching : v\n }\n\n if (!this.isStale(index)) {\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return v\n }\n\n // ok, it is stale, and not already fetching\n // refresh the cache.\n const p = this.backgroundFetch(k, index, options)\n return allowStale && p.__staleWhileFetching !== undefined\n ? p.__staleWhileFetching : p\n }\n }\n\n get (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n const value = this.valList[index]\n const fetching = this.isBackgroundFetch(value)\n if (this.isStale(index)) {\n // delete only if not an in-flight background fetch\n if (!fetching) {\n this.delete(k)\n return allowStale ? value : undefined\n } else {\n return allowStale ? value.__staleWhileFetching : undefined\n }\n } else {\n // if we're currently fetching it, we don't actually have it yet\n // it's not stale, which means this isn't a staleWhileRefetching,\n // so we just return undefined\n if (fetching) {\n return undefined\n }\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return value\n }\n }\n }\n\n connect (p, n) {\n this.prev[n] = p\n this.next[p] = n\n }\n\n moveToTail (index) {\n // if tail already, nothing to do\n // if head, move head to next[index]\n // else\n // move next[prev[index]] to next[index] (head has no prev)\n // move prev[next[index]] to prev[index]\n // prev[index] = tail\n // next[tail] = index\n // tail = index\n if (index !== this.tail) {\n if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.connect(this.prev[index], this.next[index])\n }\n this.connect(this.tail, index)\n this.tail = index\n }\n }\n\n get del () {\n deprecatedMethod('del', 'delete')\n return this.delete\n }\n delete (k) {\n let deleted = false\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n deleted = true\n if (this.size === 1) {\n this.clear()\n } else {\n this.removeItemSize(index)\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n this.keyMap.delete(k)\n this.keyList[index] = null\n this.valList[index] = null\n if (index === this.tail) {\n this.tail = this.prev[index]\n } else if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.next[this.prev[index]] = this.next[index]\n this.prev[this.next[index]] = this.prev[index]\n }\n this.size --\n this.free.push(index)\n }\n }\n }\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return deleted\n }\n\n clear () {\n for (const index of this.rindexes({ allowStale: true })) {\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n const k = this.keyList[index]\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n }\n\n this.keyMap.clear()\n this.valList.fill(null)\n this.keyList.fill(null)\n if (this.ttls) {\n this.ttls.fill(0)\n this.starts.fill(0)\n }\n if (this.sizes) {\n this.sizes.fill(0)\n }\n this.head = 0\n this.tail = 0\n this.initialFill = 1\n this.free.length = 0\n this.calculatedSize = 0\n this.size = 0\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n }\n get reset () {\n deprecatedMethod('reset', 'clear')\n return this.clear\n }\n\n get length () {\n deprecatedProperty('length', 'size')\n return this.size\n }\n}\n\nmodule.exports = LRUCache\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin))) {\n minver = setMin\n }\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst { ANY } = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let first = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max) {\n ranges.push(min)\n } else if (!max && min === v[0]) {\n ranges.push('*')\n } else if (!max) {\n ranges.push(`>=${min}`)\n } else if (min === v[0]) {\n ranges.push(`<=${max}`)\n } else {\n ranges.push(`${min} - ${max}`)\n }\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = [new Comparator('>=0.0.0-0')]\n } else {\n sub = [new Comparator('>=0.0.0')]\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = [new Comparator('>=0.0.0')]\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nvar crypto = require('crypto');\n\nmodule.exports = function nodeRNG() {\n return crypto.randomBytes(16);\n};\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n",null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.08b116bb.js\"))).then(() => parcelRequire('apy8x'));","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","module.exports = require('./lib/numerous.js');\n","(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n","'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n","'use strict';\nmodule.exports = /^#!(.*)/;\n","'use strict';\nconst shebangRegex = require('shebang-regex');\n\nmodule.exports = (string = '') => {\n\tconst match = string.match(shebangRegex);\n\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [path, argument] = match[0].replace(/#! ?/, '').split(' ');\n\tconst binary = path.split('/').pop();\n\n\tif (binary === 'env') {\n\t\treturn argument;\n\t}\n\n\treturn argument ? `${binary} ${argument}` : binary;\n};\n","'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n","'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n","'use strict';\n\nmodule.exports = input => {\n\tconst LF = typeof input === 'string' ? '\\n' : '\\n'.charCodeAt();\n\tconst CR = typeof input === 'string' ? '\\r' : '\\r'.charCodeAt();\n\n\tif (input[input.length - 1] === LF) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\treturn input;\n};\n","'use strict';\nconst path = require('path');\nconst pathKey = require('path-key');\n\nconst npmRunPath = options => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\tpath: process.env[pathKey()],\n\t\texecPath: process.execPath,\n\t\t...options\n\t};\n\n\tlet previous;\n\tlet cwdPath = path.resolve(options.cwd);\n\tconst result = [];\n\n\twhile (previous !== cwdPath) {\n\t\tresult.push(path.join(cwdPath, 'node_modules/.bin'));\n\t\tprevious = cwdPath;\n\t\tcwdPath = path.resolve(cwdPath, '..');\n\t}\n\n\t// Ensure the running `node` binary is used\n\tconst execPathDir = path.resolve(options.cwd, options.execPath, '..');\n\tresult.push(execPathDir);\n\n\treturn result.concat(options.path).join(path.delimiter);\n};\n\nmodule.exports = npmRunPath;\n// TODO: Remove this for the next major release\nmodule.exports.default = npmRunPath;\n\nmodule.exports.env = options => {\n\toptions = {\n\t\tenv: process.env,\n\t\t...options\n\t};\n\n\tconst env = {...options.env};\n\tconst path = pathKey({env});\n\n\toptions.path = env[path];\n\tenv[path] = module.exports(options);\n\n\treturn env;\n};\n","'use strict';\n\nconst mimicFn = (to, from) => {\n\tfor (const prop of Reflect.ownKeys(from)) {\n\t\tObject.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n\t}\n\n\treturn to;\n};\n\nmodule.exports = mimicFn;\n// TODO: Remove this for the next major release\nmodule.exports.default = mimicFn;\n","'use strict';\nconst mimicFn = require('mimic-fn');\n\nconst calledFunctions = new WeakMap();\n\nconst onetime = (function_, options = {}) => {\n\tif (typeof function_ !== 'function') {\n\t\tthrow new TypeError('Expected a function');\n\t}\n\n\tlet returnValue;\n\tlet callCount = 0;\n\tconst functionName = function_.displayName || function_.name || '';\n\n\tconst onetime = function (...arguments_) {\n\t\tcalledFunctions.set(onetime, ++callCount);\n\n\t\tif (callCount === 1) {\n\t\t\treturnValue = function_.apply(this, arguments_);\n\t\t\tfunction_ = null;\n\t\t} else if (options.throw === true) {\n\t\t\tthrow new Error(`Function \\`${functionName}\\` can only be called once`);\n\t\t}\n\n\t\treturn returnValue;\n\t};\n\n\tmimicFn(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nmodule.exports = onetime;\n// TODO: Remove this for the next major release\nmodule.exports.default = onetime;\n\nmodule.exports.callCount = function_ => {\n\tif (!calledFunctions.has(function_)) {\n\t\tthrow new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n\t}\n\n\treturn calledFunctions.get(function_);\n};\n","import { constants } from 'os'\n\nimport { getSignals } from './signals.js'\nimport { SIGRTMAX } from './realtime.js'\n\n// Retrieve `signalsByName`, an object mapping signal name to signal properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByName = function() {\n const signals = getSignals()\n return signals.reduce(getSignalByName, {})\n}\n\nconst getSignalByName = function(\n signalByNameMemo,\n { name, number, description, supported, action, forced, standard },\n) {\n return {\n ...signalByNameMemo,\n [name]: { name, number, description, supported, action, forced, standard },\n }\n}\n\nexport const signalsByName = getSignalsByName()\n\n// Retrieve `signalsByNumber`, an object mapping signal number to signal\n// properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByNumber = function() {\n const signals = getSignals()\n const length = SIGRTMAX + 1\n const signalsA = Array.from({ length }, (value, number) =>\n getSignalByNumber(number, signals),\n )\n return Object.assign({}, ...signalsA)\n}\n\nconst getSignalByNumber = function(number, signals) {\n const signal = findSignalByNumber(number, signals)\n\n if (signal === undefined) {\n return {}\n }\n\n const { name, description, supported, action, forced, standard } = signal\n return {\n [number]: {\n name,\n number,\n description,\n supported,\n action,\n forced,\n standard,\n },\n }\n}\n\n// Several signals might end up sharing the same number because of OS-specific\n// numbers, in which case those prevail.\nconst findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name }) => constants.signals[name] === number)\n\n if (signal !== undefined) {\n return signal\n }\n\n return signals.find(signalA => signalA.number === number)\n}\n\nexport const signalsByNumber = getSignalsByNumber()\n","import { constants } from 'os'\n\nimport { SIGNALS } from './core.js'\nimport { getRealtimeSignals } from './realtime.js'\n\n// Retrieve list of know signals (including realtime) with information about\n// them\nexport const getSignals = function() {\n const realtimeSignals = getRealtimeSignals()\n const signals = [...SIGNALS, ...realtimeSignals].map(normalizeSignal)\n return signals\n}\n\n// Normalize signal:\n// - `number`: signal numbers are OS-specific. This is taken into account by\n// `os.constants.signals`. However we provide a default `number` since some\n// signals are not defined for some OS.\n// - `forced`: set default to `false`\n// - `supported`: set value\nconst normalizeSignal = function({\n name,\n number: defaultNumber,\n description,\n action,\n forced = false,\n standard,\n}) {\n const {\n signals: { [name]: constantSignal },\n } = constants\n const supported = constantSignal !== undefined\n const number = supported ? constantSignal : defaultNumber\n return { name, number, description, supported, action, forced, standard }\n}\n","/* eslint-disable max-lines */\n// List of known process signals with information about them\nexport const SIGNALS = [\n {\n name: 'SIGHUP',\n number: 1,\n action: 'terminate',\n description: 'Terminal closed',\n standard: 'posix',\n },\n {\n name: 'SIGINT',\n number: 2,\n action: 'terminate',\n description: 'User interruption with CTRL-C',\n standard: 'ansi',\n },\n {\n name: 'SIGQUIT',\n number: 3,\n action: 'core',\n description: 'User interruption with CTRL-\\\\',\n standard: 'posix',\n },\n {\n name: 'SIGILL',\n number: 4,\n action: 'core',\n description: 'Invalid machine instruction',\n standard: 'ansi',\n },\n {\n name: 'SIGTRAP',\n number: 5,\n action: 'core',\n description: 'Debugger breakpoint',\n standard: 'posix',\n },\n {\n name: 'SIGABRT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'ansi',\n },\n {\n name: 'SIGIOT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'bsd',\n },\n {\n name: 'SIGBUS',\n number: 7,\n action: 'core',\n description:\n 'Bus error due to misaligned, non-existing address or paging error',\n standard: 'bsd',\n },\n {\n name: 'SIGEMT',\n number: 7,\n action: 'terminate',\n description: 'Command should be emulated but is not implemented',\n standard: 'other',\n },\n {\n name: 'SIGFPE',\n number: 8,\n action: 'core',\n description: 'Floating point arithmetic error',\n standard: 'ansi',\n },\n {\n name: 'SIGKILL',\n number: 9,\n action: 'terminate',\n description: 'Forced termination',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGUSR1',\n number: 10,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGSEGV',\n number: 11,\n action: 'core',\n description: 'Segmentation fault',\n standard: 'ansi',\n },\n {\n name: 'SIGUSR2',\n number: 12,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGPIPE',\n number: 13,\n action: 'terminate',\n description: 'Broken pipe or socket',\n standard: 'posix',\n },\n {\n name: 'SIGALRM',\n number: 14,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'posix',\n },\n {\n name: 'SIGTERM',\n number: 15,\n action: 'terminate',\n description: 'Termination',\n standard: 'ansi',\n },\n {\n name: 'SIGSTKFLT',\n number: 16,\n action: 'terminate',\n description: 'Stack is empty or overflowed',\n standard: 'other',\n },\n {\n name: 'SIGCHLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'posix',\n },\n {\n name: 'SIGCLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'other',\n },\n {\n name: 'SIGCONT',\n number: 18,\n action: 'unpause',\n description: 'Unpaused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGSTOP',\n number: 19,\n action: 'pause',\n description: 'Paused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGTSTP',\n number: 20,\n action: 'pause',\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: 'posix',\n },\n {\n name: 'SIGTTIN',\n number: 21,\n action: 'pause',\n description: 'Background process cannot read terminal input',\n standard: 'posix',\n },\n {\n name: 'SIGBREAK',\n number: 21,\n action: 'terminate',\n description: 'User interruption with CTRL-BREAK',\n standard: 'other',\n },\n {\n name: 'SIGTTOU',\n number: 22,\n action: 'pause',\n description: 'Background process cannot write to terminal output',\n standard: 'posix',\n },\n {\n name: 'SIGURG',\n number: 23,\n action: 'ignore',\n description: 'Socket received out-of-band data',\n standard: 'bsd',\n },\n {\n name: 'SIGXCPU',\n number: 24,\n action: 'core',\n description: 'Process timed out',\n standard: 'bsd',\n },\n {\n name: 'SIGXFSZ',\n number: 25,\n action: 'core',\n description: 'File too big',\n standard: 'bsd',\n },\n {\n name: 'SIGVTALRM',\n number: 26,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGPROF',\n number: 27,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGWINCH',\n number: 28,\n action: 'ignore',\n description: 'Terminal window size changed',\n standard: 'bsd',\n },\n {\n name: 'SIGIO',\n number: 29,\n action: 'terminate',\n description: 'I/O is available',\n standard: 'other',\n },\n {\n name: 'SIGPOLL',\n number: 29,\n action: 'terminate',\n description: 'Watched event',\n standard: 'other',\n },\n {\n name: 'SIGINFO',\n number: 29,\n action: 'ignore',\n description: 'Request for process information',\n standard: 'other',\n },\n {\n name: 'SIGPWR',\n number: 30,\n action: 'terminate',\n description: 'Device running out of power',\n standard: 'systemv',\n },\n {\n name: 'SIGSYS',\n number: 31,\n action: 'core',\n description: 'Invalid system call',\n standard: 'other',\n },\n {\n name: 'SIGUNUSED',\n number: 31,\n action: 'terminate',\n description: 'Invalid system call',\n standard: 'other',\n },\n]\n/* eslint-enable max-lines */\n","// List of realtime signals with information about them\nexport const getRealtimeSignals = function() {\n const length = SIGRTMAX - SIGRTMIN + 1\n return Array.from({ length }, getRealtimeSignal)\n}\n\nconst getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: SIGRTMIN + index,\n action: 'terminate',\n description: 'Application-specific signal (realtime)',\n standard: 'posix',\n }\n}\n\nconst SIGRTMIN = 34\nexport const SIGRTMAX = 64\n","'use strict';\nconst {signalsByName} = require('human-signals');\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nconst makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}}\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n\nmodule.exports = makeError;\n","'use strict';\nconst aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nconst normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\nmodule.exports = normalizeStdio;\n\n// `ipc` is pushed unless it is already present\nmodule.exports.node = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { : , ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","'use strict';\nconst os = require('os');\nconst onExit = require('signal-exit');\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst spawnedKill = (kill, signal = 'SIGTERM', options = {}) => {\n\tconst killResult = kill(signal);\n\tsetKillTimeout(kill, signal, options, killResult);\n\treturn killResult;\n};\n\nconst setKillTimeout = (kill, signal, options, killResult) => {\n\tif (!shouldForceKill(signal, options, killResult)) {\n\t\treturn;\n\t}\n\n\tconst timeout = getForceKillAfterTimeout(options);\n\tconst t = setTimeout(() => {\n\t\tkill('SIGKILL');\n\t}, timeout);\n\n\t// Guarded because there's no `.unref()` when `execa` is used in the renderer\n\t// process in Electron. This cannot be tested since we don't run tests in\n\t// Electron.\n\t// istanbul ignore else\n\tif (t.unref) {\n\t\tt.unref();\n\t}\n};\n\nconst shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => {\n\treturn isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\n\nconst isSigterm = signal => {\n\treturn signal === os.constants.signals.SIGTERM ||\n\t\t(typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\n};\n\nconst getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => {\n\tif (forceKillAfterTimeout === true) {\n\t\treturn DEFAULT_FORCE_KILL_TIMEOUT;\n\t}\n\n\tif (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n\t\tthrow new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n\t}\n\n\treturn forceKillAfterTimeout;\n};\n\n// `childProcess.cancel()`\nconst spawnedCancel = (spawned, context) => {\n\tconst killResult = spawned.kill();\n\n\tif (killResult) {\n\t\tcontext.isCanceled = true;\n\t}\n};\n\nconst timeoutKill = (spawned, signal, reject) => {\n\tspawned.kill(signal);\n\treject(Object.assign(new Error('Timed out'), {timedOut: true, signal}));\n};\n\n// `timeout` option handling\nconst setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => {\n\tif (timeout === 0 || timeout === undefined) {\n\t\treturn spawnedPromise;\n\t}\n\n\tlet timeoutId;\n\tconst timeoutPromise = new Promise((resolve, reject) => {\n\t\ttimeoutId = setTimeout(() => {\n\t\t\ttimeoutKill(spawned, killSignal, reject);\n\t\t}, timeout);\n\t});\n\n\tconst safeSpawnedPromise = spawnedPromise.finally(() => {\n\t\tclearTimeout(timeoutId);\n\t});\n\n\treturn Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\n\nconst validateTimeout = ({timeout}) => {\n\tif (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {\n\t\tthrow new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n\t}\n};\n\n// `cleanup` option handling\nconst setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => {\n\tif (!cleanup || detached) {\n\t\treturn timedPromise;\n\t}\n\n\tconst removeExitHandler = onExit(() => {\n\t\tspawned.kill();\n\t});\n\n\treturn timedPromise.finally(() => {\n\t\tremoveExitHandler();\n\t});\n};\n\nmodule.exports = {\n\tspawnedKill,\n\tspawnedCancel,\n\tsetupTimeout,\n\tvalidateTimeout,\n\tsetExitHandler\n};\n","'use strict';\nconst path = require('path');\nconst childProcess = require('child_process');\nconst crossSpawn = require('cross-spawn');\nconst stripFinalNewline = require('strip-final-newline');\nconst npmRunPath = require('npm-run-path');\nconst onetime = require('onetime');\nconst makeError = require('./lib/error');\nconst normalizeStdio = require('./lib/stdio');\nconst {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} = require('./lib/kill');\nconst {handleInput, getSpawnedResult, makeAllStream, validateInputSync} = require('./lib/stream');\nconst {mergePromise, getSpawnedPromise} = require('./lib/promise');\nconst {joinCommand, parseCommand, getEscapedCommand} = require('./lib/command');\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPath.env({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\t...options\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nconst execa = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t}));\n\t\treturn mergePromise(dummySpawned, errorPromise);\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled,\n\t\t\t\tkilled: spawned.killed\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options.input);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\treturn mergePromise(spawned, handlePromiseOnce);\n};\n\nmodule.exports = execa;\n\nmodule.exports.sync = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false\n\t};\n};\n\nmodule.exports.command = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n};\n\nmodule.exports.commandSync = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa.sync(file, args, options);\n};\n\nmodule.exports.node = (scriptPath, args, options = {}) => {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdio.node(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : [])\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false\n\t\t}\n\t);\n};\n","'use strict';\n\nconst isStream = stream =>\n\tstream !== null &&\n\ttypeof stream === 'object' &&\n\ttypeof stream.pipe === 'function';\n\nisStream.writable = stream =>\n\tisStream(stream) &&\n\tstream.writable !== false &&\n\ttypeof stream._write === 'function' &&\n\ttypeof stream._writableState === 'object';\n\nisStream.readable = stream =>\n\tisStream(stream) &&\n\tstream.readable !== false &&\n\ttypeof stream._read === 'function' &&\n\ttypeof stream._readableState === 'object';\n\nisStream.duplex = stream =>\n\tisStream.writable(stream) &&\n\tisStream.readable(stream);\n\nisStream.transform = stream =>\n\tisStream.duplex(stream) &&\n\ttypeof stream._transform === 'function';\n\nmodule.exports = isStream;\n","'use strict';\nconst {PassThrough: PassThroughStream} = require('stream');\n\nmodule.exports = options => {\n\toptions = {...options};\n\n\tconst {array} = options;\n\tlet {encoding} = options;\n\tconst isBuffer = encoding === 'buffer';\n\tlet objectMode = false;\n\n\tif (array) {\n\t\tobjectMode = !(encoding || isBuffer);\n\t} else {\n\t\tencoding = encoding || 'utf8';\n\t}\n\n\tif (isBuffer) {\n\t\tencoding = null;\n\t}\n\n\tconst stream = new PassThroughStream({objectMode});\n\n\tif (encoding) {\n\t\tstream.setEncoding(encoding);\n\t}\n\n\tlet length = 0;\n\tconst chunks = [];\n\n\tstream.on('data', chunk => {\n\t\tchunks.push(chunk);\n\n\t\tif (objectMode) {\n\t\t\tlength = chunks.length;\n\t\t} else {\n\t\t\tlength += chunk.length;\n\t\t}\n\t});\n\n\tstream.getBufferedValue = () => {\n\t\tif (array) {\n\t\t\treturn chunks;\n\t\t}\n\n\t\treturn isBuffer ? Buffer.concat(chunks, length) : chunks.join('');\n\t};\n\n\tstream.getBufferedLength = () => length;\n\n\treturn stream;\n};\n","'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n","'use strict';\nconst isStream = require('is-stream');\nconst getStream = require('get-stream');\nconst mergeStream = require('merge-stream');\n\n// `input` option\nconst handleInput = (spawned, input) => {\n\t// Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n\t// @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n\tif (input === undefined || spawned.stdin === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nconst makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\tif (!stream) {\n\t\treturn;\n\t}\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\tif (encoding) {\n\t\treturn getStream(stream, {encoding, maxBuffer});\n\t}\n\n\treturn getStream.buffer(stream, {maxBuffer});\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise)\n\t\t]);\n\t}\n};\n\nconst validateInputSync = ({input}) => {\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n};\n\nmodule.exports = {\n\thandleInput,\n\tmakeAllStream,\n\tgetSpawnedResult,\n\tvalidateInputSync\n};\n\n","'use strict';\n\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property)\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nconst mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function' ?\n\t\t\t(...args) => Reflect.apply(descriptor.value, promise(), args) :\n\t\t\tdescriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n\n\treturn spawned;\n};\n\n// Use promises instead of `child_process` events\nconst getSpawnedPromise = spawned => {\n\treturn new Promise((resolve, reject) => {\n\t\tspawned.on('exit', (exitCode, signal) => {\n\t\t\tresolve({exitCode, signal});\n\t\t});\n\n\t\tspawned.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\n\t\tif (spawned.stdin) {\n\t\t\tspawned.stdin.on('error', error => {\n\t\t\t\treject(error);\n\t\t\t});\n\t\t}\n\t});\n};\n\nmodule.exports = {\n\tmergePromise,\n\tgetSpawnedPromise\n};\n\n","'use strict';\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nconst joinCommand = (file, args) => {\n\treturn normalizeArgs(file, args).join(' ');\n};\n\nconst getEscapedCommand = (file, args) => {\n\treturn normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n};\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execa.command()`\nconst parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nmodule.exports = {\n\tjoinCommand,\n\tgetEscapedCommand,\n\tparseCommand\n};\n","'use strict';\nconst os = require('os');\n\nconst homeDirectory = os.homedir();\n\nmodule.exports = pathWithTilde => {\n\tif (typeof pathWithTilde !== 'string') {\n\t\tthrow new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n\t}\n\n\treturn homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, homeDirectory) : pathWithTilde;\n};\n","const os = require(\"os\");\n\n// to detect on with os user had used path.resolve(...)\nconst is_posix_os = (os.platform() !== \"win32\");\nconst version = os.release();\n\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\n// https://docs.microsoft.com/en-us/windows/release-information/\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n\nmodule.exports = function (given_path) {\n return (is_posix_os)\n // for posix path, escape is simple\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\n // for windows, it depend of the build\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\n // on major version, no need to escape anymore\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\n ? given_path\n // on older version, replace space with symbol %20\n : given_path.replace(/(\\s+)/g, '%20');\n};",null,null,null,"\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map","import execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname, join, addShExt, addShRelativePrefix } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { notice } from \"ci-log\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { giveUserAccess } from \"user-access\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(_version: string, setupDir: string, _arch: string): Promise {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"curl\")\n setupPacmanPack(\"zip\")\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"git\")\n setupPacmanPack(\"pkg-config\")\n } else if (hasDnf()) {\n setupDnfPack(\"curl\")\n setupDnfPack(\"zip\")\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"git\")\n setupDnfPack(\"pkg-config\")\n } else if (isUbuntu()) {\n await setupAptPack(\"curl\")\n await setupAptPack(\"zip\")\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"git\")\n await setupAptPack(\"pkg-config\")\n }\n }\n\n if (!existsSync(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\")))) {\n execa.sync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`)\n }\n\n execa.sync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n giveUserAccess(setupDir)\n\n await addPath(setupDir)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { dirname } from \"patha\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\nimport { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://github.com/volitank/nala#-installation\n const keyFileName = await addAptKeyViaDownload(\n \"volian-archive-scar-unstable.gpg\",\n \"https://deb.volian.org/volian/scar.key\"\n )\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ scar main\" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`,\n ])\n\n try {\n if (version !== \"legacy\") {\n await setupAptPack(\"nala\", undefined, [], true)\n } else {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n } catch (err) {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n","import { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return setupBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n setupDnfPack(\"dnf-plugins-core\", undefined)\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack(\"bazel4\", undefined)\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaDownload(\n \"bazel-archive-keyring.gpg\",\n \"https://bazel.build/bazel-release.pub.gpg\"\n )\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return setupAptPack(\"bazel\", version, [], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n await setupPipPack(\"setuptools\", \"\")\n return setupPipPack(\"conan\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershell(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"powershell-core\", version)\n const binDir = \"C:/Program Files/PowerShell/7\"\n await addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"powershell\", version, [\"--cask\"])\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"powershell-bin\", version, \"yay\")\n } else if (hasDnf()) {\n setupDnfPack(\"curl\")\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo`,\n ])\n return setupDnfPack(\"powershell\", version)\n } else if (isUbuntu()) {\n await setupAptPack(\"curl\")\n const ubuntuVerSplitted = (await ubuntuVersion())!\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`\n\n execRootSync(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`,\n ])\n execRootSync(\"dpkg\", [\"-i\", \"packages-microsoft-prod.deb\"])\n\n // TODO Debian\n // const keyFileName = await addAptKeyViaDownload(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n\n return setupAptPack(\"powershell\", version, [], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"ccache\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"cppcheck\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n setupBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\")\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"make\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"make\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n"],"names":["$1d8d028d9c47b73d$var$isexe","path","options","cb","Promise","TypeError","resolve","reject","er","is","$1d8d028d9c47b73d$var$core","code","ignoreErrors","$b50fe22cd1c82159$export$c5eeb9c87a610a0e","_version","_setupDir","_arch","includes","process","platform","$b50fe22cd1c82159$var$binDir","maybeBinDir","$parcel$interopDefault","$4ca03dc05bbe4be0$exports","sync","nothrow","$6XIgB","dirname","$dLzlS$child_process","execFileSync","stdio","$51d58653c6048ffd$var$resolveCommandAttempt","parsed","withoutPathExt","env","cwd","hasCustomCwd","shouldSwitchCwd","undefined","chdir","disabled","err","resolved","command","$e9929770d50e0ca3$exports","pathExt","$dLzlS$path","delimiter","e","$cee8c79eb01cd876$var$notFoundError","original","syscall","Object","assign","Error","errno","spawnargs","args","$cee8c79eb01cd876$var$verifyENOENT","status","$cee8c79eb01cd876$var$isWin","file","$338cd3297632d74f$var$spawn","$9cf15e4f01e764e1$exports","spawned","spawn","$cee8c79eb01cd876$exports","hookChildProcess","async","$3f8980e86d9447d4$var$getStream","inputStream","maxBuffer","Infinity","stream","$2791e057b208c733$exports","rejectPromise","error","getBufferedLength","$3f8980e86d9447d4$require$BufferConstants","MAX_LENGTH","bufferedData","getBufferedValue","$3f8980e86d9447d4$var$streamPipelinePromisified","on","$3f8980e86d9447d4$var$MaxBufferError","$373ec10beb4d7153$export$316200228f28b8ce","CI","ref","getuid","call","$373ec10beb4d7153$export$58f152936f209932","program","execOptions","shell","$c3e9e2f843627429$exports","commandSync","map","arg","join","$3f4c9366e55e0917$export$8312d9eeba321950","SUDO_USER","$a7308743a0157ada$exports","$6e1462338680af59$export$43324456a02f71b0","startupFlags","$6e1462338680af59$var$powershell","maybePwsh","maybePowerShell","$6e1462338680af59$export$4dfdd3964d242d20","$7bb732a40a25bec4$export$f63d3080ce25e0fd","name","valGiven","shouldEscapeSpace","val","$892cf68de9d02605$exports","$gmbrv","$enS5B","exportVariable","$pcnv8","$7bb732a40a25bec4$var$addEnvSystem","err1","setFailed","$7bb732a40a25bec4$export$4c25481b843feb0b","PATH","addPath","$7bb732a40a25bec4$var$addPathSystem","info","$7bb732a40a25bec4$export$bd1dffd792f43c41","$dLzlS$fs","appendFileSync","$7bb732a40a25bec4$export$1bbbc3a810c5799d","$7bb732a40a25bec4$var$setupCppInProfile_called","source_cpprc_str","existsSync","readFileSync","source_cpprc_string","profile_path","bashrc_path","warning","$b264a6d5b746ae82$export$d73dc343f5abf26","version","repositories","update","apt","$b264a6d5b746ae82$var$getApt","DEBIAN_FRONTEND","$b264a6d5b746ae82$var$didUpdate","$b264a6d5b746ae82$var$updateRepos","$b264a6d5b746ae82$var$didInit","$b264a6d5b746ae82$export$11aa10c05ada0934","$b264a6d5b746ae82$var$initApt","Array","isArray","length","repo","binDir","$b264a6d5b746ae82$var$initGpg","keys","server","fileName","key","$b264a6d5b746ae82$export$7fb1a688af1305f0","url","$b264a6d5b746ae82$export$6fe6436bd9f53d02","$debaf44f90dd37c4$export$cfa75578ee2d6e6c","aur","pacman","$debaf44f90dd37c4$var$didUpdate","$debaf44f90dd37c4$var$didInit","$57c286cd21b83a3a$export$ce5d13d8a85cb784","extraArgs","$57c286cd21b83a3a$var$hasBrew","$8937fb0e5906a8f2$export$b804d731cdad7ef9","$8937fb0e5906a8f2$var$binDir","powershell","SystemRoot","chocoPath","ALLUSERSPROFILE","maybeChoco","_ChocolateyInstall","ChocolateyInstall","$a1d9f9e35ead513b$export$9f6912bc890040b2","$a1d9f9e35ead513b$var$hasChoco","TMP","TEMP","Path","extendEnv","message","notice","$c4b56061e0dbde5f$export$d415ddb6702ec3a2","$c4b56061e0dbde5f$var$isArchCache","$cbc3e193f1217bd7$export$8ce8b4b22331a8c7","$cbc3e193f1217bd7$var$hasDnfCache","$d6741ec1214892d9$export$49d4f9ba8e0dd34f","dnf","$0f4e7dc450142f89$export$da8baf1d6c6802b6","$0f4e7dc450142f89$var$isUbuntuCache","$fb82248e8974c296$export$5fc39629e14c8173","$aa67f233b2c242f1$export$f9a3d10eb7c735af","$2032c186687979ea$var$findAllVersions","toolName","arch","versions","$2032c186687979ea$var$os","toolPath","$2032c186687979ea$var$path","$2032c186687979ea$var$_getCacheDirectory","$2032c186687979ea$var$fs","children","readdirSync","child","$2032c186687979ea$var$isExplicitVersion","fullPath","push","$2032c186687979ea$var$_createExtractFolder","dest","$2032c186687979ea$var$_getTempDirectory","$2032c186687979ea$var$v4_1","default","$2032c186687979ea$var$io","mkdirP","$2032c186687979ea$var$_createToolPath","tool","folderPath","$2032c186687979ea$var$semver","clean","$2032c186687979ea$var$core","debug","markerPath","rmRF","$2032c186687979ea$var$_completeToolPath","writeFileSync","versionSpec","c","valid","$2032c186687979ea$var$evaluateVersions","i","sort","a","b","gt","potential","satisfies","cacheDirectory","$dLzlS$assert","ok","tempDirectory","$2032c186687979ea$var$_getGlobal","defaultValue","value","$parcel$global","$d07bf20a0d39a78b$export$eecfe186811d4a20","$d07bf20a0d39a78b$var$sevenZip","$d07bf20a0d39a78b$var$getSevenZip","$d07bf20a0d39a78b$export$7949938b2681a4f0","$d07bf20a0d39a78b$export$6411c5cbab21135b","$d07bf20a0d39a78b$export$2ab07ac150064014","flags","$fvrnx","$5378b225b5c95af5$export$334f77c9844c21f6","getPackageInfo","setupDir","_RUNNER_TEMP","_RUNNER_TOOL_CACHE","RUNNER_TEMP","$dLzlS$os","tmpdir","RUNNER_TOOL_CACHE","binRelativeDir","binFileName","extractedFolderName","extractFunction","dir","$2032c186687979ea$exports","find","installDir","installDir1","binDir1","binFile","$5378b225b5c95af5$var$didInit","downloaded","downloadTool","cacheDir","$fee36361a2bad308$var$getTaskPackageInfo","taskPlatform","$fee36361a2bad308$var$getTaskPlatform","taskArch","$fee36361a2bad308$var$getTaskArch","isZip","extension","addExeExt","$775e54fd09f86a26$var$getCmakePackageInfo","semVersion","$1YYsi","isOld","$fwsB7","osArchStr","folderName","folderName1","extractTar","isOld2","osArchStr2","folderName2","$775e54fd09f86a26$export$c28663a621f418ce","$644ae3dba93653dd$export$2b0b68e9df3d4a02","$644ae3dba93653dd$export$33cd96f062979ce0","setupActionsPython","parcelRequire","ref1","pythonBinPath","pythonSetupDir","$644ae3dba93653dd$var$activateWinPython","installInfo","$916a385c4d46b771$var$requestWorks","method","req","$dLzlS$https","request","result","statusCode","$916a385c4d46b771$var$isStatusOK","_error","end","$788ba5c4da878b74$export$deb1064c8260c54c","semversion","from","filter","v","test","startsWith","reverse","$68635a7be6556a7e$export$c506eb22e615ba4a","osVersion","$68635a7be6556a7e$var$useDefault","$68635a7be6556a7e$var$DefaultUbuntuVersion","osVersionMaj","parseInt","$68635a7be6556a7e$var$DefaultVersions","$725285b1d6baf678$export$4020cb77ffa3ffac","$725285b1d6baf678$var$python","givenFile","targetVersion","versionRegex","$788ba5c4da878b74$export$d7ab5e2d33b06cd5","givenVersion","execout","$ca0ts","getExecOutput","stdout","stderr","trim","match","console","$788ba5c4da878b74$export$5b54ecc7386538f","$howpO","$725285b1d6baf678$var$tried","$725285b1d6baf678$var$binDir","$b19dce7371463457$export$b885bd977caaafb9","$b19dce7371463457$var$activateGraphviz","$9f276bb1312a9d71$var$getDoxygenPackageInfo","$89d2131bb8f4aa1b$export$28f5fd35e3005b7a","xcrun","sdkroot","$9c01b612305c09a3$var$getGccPackageInfo","mingwInfo","$9c01b612305c09a3$var$GccToMingwInfo","mingwArch","exceptionModel","releaseName","fileSuffix","$9c01b612305c09a3$export$405fab3de79b77b","installationInfo","_ChocolateyInstall1","$9c01b612305c09a3$var$setupChocoMingw","promises","majorVersion","$fB2B7","matcherPath","$9c01b612305c09a3$var$$parcel$__dirname","$9c01b612305c09a3$var$addGccLoggingMatcher","all","$9c01b612305c09a3$var$activateGcc","$2cacaea738b8f1ae$var$getGitHubUrl","prefix","suffix","$2cacaea738b8f1ae$var$getReleaseUrl","$2cacaea738b8f1ae$export$94df0e59ebebf4a7","$2cacaea738b8f1ae$var$DARWIN_MISSING","has","$2cacaea738b8f1ae$var$getDarwinUrl","versionGiven","rc","$2cacaea738b8f1ae$var$UBUNTU_RC","get","ubuntu","givenUbuntuVersion","replace","$2cacaea738b8f1ae$export$aa5307f1aca77413","$2cacaea738b8f1ae$var$UBUNTU_SUFFIX_MAP","$2cacaea738b8f1ae$export$ae24f9682a44836b","$2cacaea738b8f1ae$var$WIN32_MISSING","olderThan9_1","fallback","$916a385c4d46b771$export$61e6a71eee2b02f9","$2cacaea738b8f1ae$var$getWin32Url","$2cacaea738b8f1ae$var$getLLVMPackageInfo","specificVersion","getUrl","url1","setOutput","$2cacaea738b8f1ae$export$3016de7ae9d14988","$2cacaea738b8f1ae$var$_setupLLVM","_installDir","directory","$fVzwP","coercedVersion","lib","_LD_LIBRARY_PATH","ld","LD_LIBRARY_PATH","_DYLD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","llvmMajor","$2cacaea738b8f1ae$var$addLLVMLoggingMatcher","$2cacaea738b8f1ae$export$6238b5ebfd6640e7","$2cacaea738b8f1ae$var$didInit","$2cacaea738b8f1ae$export$814ccfc953503728","$2cacaea738b8f1ae$var$$parcel$__dirname","$dcc4a5600f9a2a29$var$issueCommand","properties","cmd","$dcc4a5600f9a2a29$var$Command","write","$dcc4a5600f9a2a29$var$os","EOL","$d2814cb4b08c0425$var$error","$dcc4a5600f9a2a29$exports","issue","$d2814cb4b08c0425$var$startGroup","$d2814cb4b08c0425$var$endGroup","$44e2ea7eee739a17$var$vsversion_to_versionnumber","vsversion","values","$44e2ea7eee739a17$var$VsYearVersion","$44e2ea7eee739a17$var$vsversion_to_year","year","ver","entries","$44e2ea7eee739a17$var$findVcvarsall","vsversion_number","version_pattern","upper_bound","split","pattern","execSync","installationPath","$d2814cb4b08c0425$exports","$44e2ea7eee739a17$var$findWithVswhere","years","$44e2ea7eee739a17$var$YEARS","prog_files","$44e2ea7eee739a17$var$PROGRAM_FILES","ed","$44e2ea7eee739a17$var$EDITIONS","$44e2ea7eee739a17$var$PROGRAM_FILES_X86","$28a0179cccdfc4cc$export$5dcf571c91fc8369","VCTargetsPath","toolset","sdk","uwp","spectre","$44e2ea7eee739a17$export$443b8bb890f5027e","$28a0179cccdfc4cc$var$getArch","$da99583472da45a4$export$a91ef0362c1a7298","$44e2ea7eee739a17$export$3c7cae5a162b1458","installed","vcvarsall_path","$44e2ea7eee739a17$export$a6a3bfb882356813","$da99583472da45a4$var$$parcel$__dirname","$da99583472da45a4$var$addMSVCLoggingMatcher","$9bc35ceb5b751351$var$getNinjaPackageInfo","ninjaPlatform","$9bc35ceb5b751351$var$getNinjaPlatform","$9bc35ceb5b751351$export$e6190f4bfe2ef71","$4012ecb407fc2f3d$var$toArr","any","$4012ecb407fc2f3d$var$toVal","out","opts","x","old","nxt","string","indexOf","String","boolean","_","concat","$f8e04f7ec4392c59$export$49c9cf1111dfa0ee","versionSplitted","$f095436a84b3b121$exports","getUbuntuVersion","$227396c887da582e$var$getDownloadKcovPackageInfo","$227396c887da582e$var$getBuildKcovPackageInfo","$227396c887da582e$var$buildKcov","cmake","$227396c887da582e$var$getCmake","buildDir","$ff26fdfb9b4deeb1$export$f22da7240b7add18","ACTIONS_ALLOW_UNSECURE_COMMANDS","$ff26fdfb9b4deeb1$export$7300a92932ee17a3","_architecture","help","architecture","_SETUP_CPP_DIR","setupCppDir","SETUP_CPP_DIR","successMessages","errorMessages","timeFormatter","$a6c8cb5c76e7e4f4$exports","create","autoloadLocales","time1","time2","addLocale","$21a9c7af84658271$exports","$5FRs7","$6dfec0551895c67b$exports","tools","otherTools","slice","i_other","otherTool","$ff26fdfb9b4deeb1$var$tools","Date","now","startGroup","setupFunction","$ff26fdfb9b4deeb1$var$setups","$ff26fdfb9b4deeb1$var$getSuccessMessage","endGroup","format","maybeCompiler","compiler","version1","$ff26fdfb9b4deeb1$export$588248dee5258836","installationInfo1","installationInfo2","installationInfo3","e1","forEach","success","k","arr","j","idx","len","alibi","alias","strict","unknown","defaults","splice","charCodeAt","substring","repeat","shift","$ff26fdfb9b4deeb1$var$inputs","fromEntries","inp","$ff26fdfb9b4deeb1$var$maybeGetInput","h","compilerAndMaybeVersion","maybeVersion","getInput","toLowerCase","msg","$a78d2bb460f39425$var$getInput","toUpperCase","required","trimWhitespace","$a78d2bb460f39425$var$error","$BN3hS","issueCommand","$1gUXU","toCommandProperties","$a78d2bb460f39425$var$startGroup","$a78d2bb460f39425$var$endGroup","$a78d2bb460f39425$var$os","$a78d2bb460f39425$var$__importStar","$a78d2bb460f39425$var$path","$a78d2bb460f39425$var$ExitCode","ExitCode","module","exports","convertedVal","toCommandValue","$bTj1Z","$ggfP6","setSecret","secret","inputPath","getMultilineInput","getBooleanInput","setCommandEcho","enabled","exitCode","Failure","isDebug","group","fn","saveState","getState","getIDToken","aud","$69Mk5","OidcClient","defineProperty","enumerable","$9tSJs","summary","markdownSummary","$k6K8l","toPosixPath","toWin32Path","toPlatformPath","$0719818684548af4$var$issueCommand","$0719818684548af4$var$Command","$0719818684548af4$var$os","$0719818684548af4$var$__importStar","constructor","this","toString","cmdStr","first","hasOwnProperty","s","$0719818684548af4$var$escapeData","input","JSON","stringify","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","$bd6a6a1b8d71d8cf$var$fs","$bd6a6a1b8d71d8cf$var$__importStar","$bd6a6a1b8d71d8cf$var$os","filePath","encoding","$5x7Ba","$8a8397ee6cc823a0$export$2e2bcd8739ae039","buf","offset","rnds","random","rng","$FUqvx","$4075edb944572faa$export$2e2bcd8739ae039","$4075edb944572faa$var$poolPtr","$4075edb944572faa$var$rnds8Pool","$dLzlS$crypto","randomFillSync","Uint8Array","$kYWmF","$07df999606202400$var$byteToHex","substr","$07df999606202400$export$2e2bcd8739ae039","uuid","$1J9r9","$f466af365406a0ad$export$2e2bcd8739ae039","$1421506621ec4ca3$export$2e2bcd8739ae039","$47b9114ce5224c2f$var$OidcClient","static","allowRetry","maxRetry","requestOptions","allowRetries","maxRetries","$4z9RF","HttpClient","$7v249","BearerCredentialHandler","getRequestToken","token","runtimeUrl","id_token_url","httpclient","createHttpClient","res","getJson","catch","id_token","_a","audience","getIDTokenUrl","encodeURIComponent","getCall","$3532153250d0a8c3$var$http","$3532153250d0a8c3$var$__importStar","$dLzlS$http","$3532153250d0a8c3$var$https","$3532153250d0a8c3$var$pm","$3532153250d0a8c3$var$tunnel","$3532153250d0a8c3$var$HttpCodes","HttpCodes","$3532153250d0a8c3$var$Headers","Headers","$3532153250d0a8c3$var$MediaTypes","MediaTypes","getProxyUrl","serverUrl","proxyUrl","URL","href","$3532153250d0a8c3$var$HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","$3532153250d0a8c3$var$HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","$3532153250d0a8c3$var$RetryableHttpVerbs","$3532153250d0a8c3$var$HttpClientError","super","setPrototypeOf","prototype","HttpClientError","$3532153250d0a8c3$var$HttpClientResponse","readBody","$3532153250d0a8c3$var$__awaiter","output","Buffer","alloc","chunk","HttpClientResponse","isHttps","requestUrl","protocol","userAgent","handlers","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","max","keepAlive","additionalHeaders","del","post","data","patch","put","head","sendStream","verb","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","postJson","obj","ContentType","putJson","patchJson","headers","parsedUrl","_prepareRequest","maxTries","response","numTries","requestRaw","Unauthorized","authenticationHandler","handler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","hostname","header","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","onResult","handleResult","callbackCalled","byteLength","httpModule","socket","sock","setTimeout","pipe","getAgent","_getAgent","usingSsl","defaultPort","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","$3532153250d0a8c3$var$lowercaseKeys","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","min","contents","NotFound","deserializeDates","parse","isNaN","valueOf","reduce","$1f9807f2878b82ba$var$checkBypass","reqUrl","noProxy","reqPort","upperReqHosts","upperNoProxyItem","some","proxyVar","checkBypass","$b80e68d5f6e6478f$var$TunnelingAgent","self","proxyOptions","defaultMaxSockets","requests","sockets","localAddress","$b80e68d5f6e6478f$var$toOptions","pending","onSocket","removeSocket","$b80e68d5f6e6478f$var$createSecureSocket","createSocket","hostHeader","getHeader","tlsOptions","$b80e68d5f6e6478f$var$mergeOptions","servername","secureSocket","$dLzlS$tls","connect","target","arguments","overrides","keyLen","$b80e68d5f6e6478f$export$25cbd437c61a3835","$b80e68d5f6e6478f$export$c06e3df7111bae43","$b80e68d5f6e6478f$export$5d50e36ef656139f","$b80e68d5f6e6478f$export$212d6605025321cc","$b80e68d5f6e6478f$export$1c9f709888824e05","$b80e68d5f6e6478f$var$debug","$dLzlS$util","inherits","$dLzlS$events","EventEmitter","addRequest","onFree","emit","onCloseOrRemove","removeListener","onConnect","connectReq","removeAllListeners","placeholder","connectOptions","useChunkedEncodingByDefault","once","upgrade","nextTick","cause","stack","pos","BasicCredentialHandler","PersonalAccessTokenCredentialHandler","access","$6e714722da61276d$var$access","appendFile","$6e714722da61276d$var$appendFile","writeFile","$6e714722da61276d$var$writeFile","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","$6e714722da61276d$var$_summary","_buffer","_filePath","pathFromEnv","constants","R_OK","W_OK","wrap","tag","content","attrs","htmlAttrs","overwrite","writeFunc","emptyBuffer","clear","isEmptyBuffer","addRaw","text","addEOL","addCodeBlock","lang","element","addList","items","ordered","listItems","item","addTable","rows","tableBody","row","cells","cell","colspan","rowspan","addDetails","label","addImage","src","alt","width","height","addHeading","level","allowedTag","addSeparator","addBreak","addQuote","cite","addLink","$ea3827574cd211c8$var$path","$ea3827574cd211c8$var$__importStar","pth","sep","$3b34b48be461ec36$var$e","r","$3b34b48be461ec36$var$a","t","set","configurable","$a5582d346e4b3341$export$a8ff84c12d48cfa6","includeExtension","$7457c063c1e31880$re_export$basename","$7457c063c1e31880$re_export$extname","$45b0b91f3d5fdf49$export$873fead74fe2f1ff","$7457c063c1e31880$re_export$normalize","RegExp","$7457c063c1e31880$re_export$sep","$da4ea98ccf2b8f4a$export$2d20c564cade3c93","win_ext","other_ext","$42f4c5f180b55060$export$3e333f8cb13439c","ext","NameWithPrefix","$7457c063c1e31880$re_export$join","$7457c063c1e31880$re_export$dirname","$f11696b7d525a61d$export$3b60a3e9bd1aef9d","NameWithSuffix","$2a00a829b3c112e0$export$609be29b80b555e1","$edd2b45bfca6fe1c$export$e1f23f8d3e53fe6","$b68d3ca62f2620d8$export$19c5468f88f6e968","extensionLength","$e6109faa76fd4f61$export$e9c34737ac8e53d2","__esModule","$b101f75d3a3e0cac$exports","$688073c60b64a457$export$7d0573375890d05c","childPath","parentPath","relation","$7457c063c1e31880$re_export$relative","$7457c063c1e31880$re_export$resolve","npath","first2chars","nFileName","nFilepath","$3b34b48be461ec36$var$B","$3b34b48be461ec36$export$7d0573375890d05c","$3b34b48be461ec36$var$z","$3b34b48be461ec36$var$O","$3b34b48be461ec36$var$_","$3b34b48be461ec36$var$R","$3b34b48be461ec36$var$T","$3b34b48be461ec36$var$A","$3b34b48be461ec36$var$I","$3b34b48be461ec36$var$M","$3b34b48be461ec36$var$k","$3b34b48be461ec36$var$q","$b43ef73900290537$var$checkStat","stat","isSymbolicLink","isFile","pathext","PATHEXT","p","$b43ef73900290537$var$checkPathExt","$b43ef73900290537$var$isexe","statSync","$6f57237f32b1c8cb$var$isexe","$6f57237f32b1c8cb$var$checkStat","mod","mode","uid","gid","myUid","myGid","getgid","u","g","ug","$6f57237f32b1c8cb$var$checkMode","GERRIT_PROJECT","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","BITRISE_IO","BUDDY_WORKSPACE_ID","BUILDKITE","CIRRUS_CI","GITLAB_CI","APPVEYOR","CIRCLECI","SEMAPHORE","DRONE","DSARI","GITHUB_ACTION","TDDIUM","SCREWDRIVER","STRIDER","TASKCLUSTER_ROOT_URL","JENKINS_URL","GO_PIPELINE_NAME","HUDSON_URL","WERCKER","NETLIFY","NOW_GITHUB_DEPLOYMENT","GITLAB_DEPLOYMENT","BITBUCKET_DEPLOYMENT","BITBUCKET_BUILD_NUMBER","NOW_BUILDER","VERCEL_GITHUB_DEPLOYMENT","VERCEL_GITLAB_DEPLOYMENT","VERCEL_BITBUCKET_DEPLOYMENT","VERCEL_URL","MAGNUM","NEVERCODE","RENDER","SAIL_CI","SHIPPABLE","TEAMCITY_VERSION","CI_NAME","NODE","TRAVIS","CODEBUILD_SRC_DIR","BUILDER_OUTPUT","$dfbf2d9bb1250e23$export$a3bc9b8ed74fc","$04fde","log","$dfbf2d9bb1250e23$export$fe7c49d056ea1d88","$dfbf2d9bb1250e23$export$491112666e282270","$dfbf2d9bb1250e23$export$b31f6ae88848cf15","$dfbf2d9bb1250e23$export$a80b3bd66acc52ff","$00cc2cb44b74fa5a$var$getInput","$00cc2cb44b74fa5a$var$error","$2iva8","$hGWy4","$00cc2cb44b74fa5a$var$startGroup","$00cc2cb44b74fa5a$var$endGroup","$00cc2cb44b74fa5a$var$os","$00cc2cb44b74fa5a$var$__importStar","$00cc2cb44b74fa5a$var$path","$00cc2cb44b74fa5a$var$ExitCode","$kCOkT","$1hWAC","$hILBc","$39f1T","$1ac56f735470f2bc$var$issueCommand","$1ac56f735470f2bc$var$Command","$1ac56f735470f2bc$var$os","$1ac56f735470f2bc$var$__importStar","$1ac56f735470f2bc$var$escapeData","$f03e66e97447a0d4$var$fs","$f03e66e97447a0d4$var$__importStar","$f03e66e97447a0d4$var$os","$0f04d3adb67492b4$var$OidcClient","$ce6b77df7bbb7675$var$access","$ce6b77df7bbb7675$var$appendFile","$ce6b77df7bbb7675$var$writeFile","$ce6b77df7bbb7675$var$_summary","$24addeec9ef57a1a$var$path","$24addeec9ef57a1a$var$__importStar","$b49efd1a00c432ed$var$rmRF","$b49efd1a00c432ed$var$ioUtil","IS_WINDOWS","cmdPath","getCmdPath","isDirectory","$b49efd1a00c432ed$var$exec","unlink","isDir","err2","$b49efd1a00c432ed$var$execFile","$b49efd1a00c432ed$var$mkdirP","fsPath","mkdir","recursive","$b49efd1a00c432ed$var$findInPath","extensions","$b49efd1a00c432ed$var$path","isRooted","tryGetExecutablePath","directories","matches","filePath1","$b49efd1a00c432ed$var$cpDirRecursive","sourceDir","destDir","currentDepth","force","files","readdir","srcFile","destFile","lstat","$b49efd1a00c432ed$var$copyFile","chmod","symlinkFull","readlink","symlink","exists","copyFile","$b49efd1a00c432ed$var$childProcess","$b49efd1a00c432ed$var$__importStar","promisify","exec","execFile","cp","source","copySourceDirectory","$b49efd1a00c432ed$var$readCopyOptions","destStat","newDest","basename","relative","mv","destExists","rename","which","$b49efd1a00c432ed$var$which","check","findInPath","$1f568b1c4242dba7$var$isUnixExecutable","stats","$1f568b1c4242dba7$var$fs","$1f568b1c4242dba7$var$__importStar","$1f568b1c4242dba7$var$path","$1f568b1c4242dba7$var$_a","rmdir","useStat","$1f568b1c4242dba7$var$normalizeSeparators","upperExt","extname","validExt","originalFilePath","upperName","actualName","$49c6639221a3e217$var$semver","$49c6639221a3e217$var$__importStar","_findMatch","stable","candidates","archFilter","platFilter","candidate","chk","platform_version","_getOsVersion","plat","lsbContents","_readLinuxVersionFile","lines","parts","lsbReleaseFile","osReleaseFile","$bikcG","re","tokens","SEMVER_SPEC_VERSION","SemVer","compareIdentifiers","rcompareIdentifiers","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","lt","eq","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","MAX_SAFE_COMPONENT_LENGTH","R","createToken","isGlobal","index","$jkMsx","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","$83910c29f6734fbd$require$MAX_SAFE_COMPONENT_LENGTH","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","Number","MAX_SAFE_INTEGER","$e1357995fd1631a2$var$debug","$bgOMw","$5696f94a63c27d85$var$SemVer","$eUvvN","loose","includePrerelease","$5696f94a63c27d85$require$MAX_LENGTH","m","$5696f94a63c27d85$require$re","$5696f94a63c27d85$require$t","LOOSE","FULL","raw","$5696f94a63c27d85$require$MAX_SAFE_INTEGER","id","num","build","other","compareMain","comparePre","$5696f94a63c27d85$require$compareIdentifiers","release","identifier","$adaebd3d9a17271f$var$opts","o","$0c2cbbcfac21c924$var$numeric","$0c2cbbcfac21c924$var$compareIdentifiers","anum","bnum","$7qUJS","$bce3317ae792f650$require$MAX_LENGTH","$bce3317ae792f650$require$re","$bce3317ae792f650$require$t","$gdrva","version2","$jXghC","v1","v2","hasPre","defaultResult","versionA","versionB","$80ezM","list","op","$fqqGA","$6KPS4","$5cRW4","$lr5pz","rtl","next","$171a4a37978eb9a3$require$re","$171a4a37978eb9a3$require$t","COERCERTL","lastIndex","$ad0b6a9469831548$var$ANY","Symbol","$ad0b6a9469831548$var$Comparator","ANY","comp","semver","operator","$ad0b6a9469831548$require$re","$ad0b6a9469831548$require$t","COMPARATORLOOSE","COMPARATOR","$823yM","$hvUff","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","$cc00f5fd17503a13$var$Range","range","$eR6XK","parseRange","$cc00f5fd17503a13$var$isNullSet","$cc00f5fd17503a13$var$isAny","comps","memoKey","cached","$cc00f5fd17503a13$var$cache","$cc00f5fd17503a13$require$re","$cc00f5fd17503a13$require$t","HYPHENRANGELOOSE","HYPHENRANGE","$cc00f5fd17503a13$var$hyphenReplace","COMPARATORTRIM","$cc00f5fd17503a13$require$comparatorTrimReplace","rangeList","TILDETRIM","$cc00f5fd17503a13$require$tildeTrimReplace","CARETTRIM","$cc00f5fd17503a13$require$caretTrimReplace","$cc00f5fd17503a13$var$parseComparator","$cc00f5fd17503a13$var$replaceGTE0","rangeMap","Map","comparators","size","delete","thisComparators","$cc00f5fd17503a13$var$isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","$cc00f5fd17503a13$var$testSet","remainingComparators","testComparator","pop","otherComparator","$cc00f5fd17503a13$var$replaceCarets","$cc00f5fd17503a13$var$replaceTildes","$cc00f5fd17503a13$var$replaceXRanges","$cc00f5fd17503a13$var$replaceStars","$cc00f5fd17503a13$var$isX","$cc00f5fd17503a13$var$replaceTilde","TILDELOOSE","TILDE","M","pr","ret","$cc00f5fd17503a13$var$replaceCaret","z","CARETLOOSE","CARET","$cc00f5fd17503a13$var$replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","tb","i1","allowed","$4f0bf18d6c99da3c$var$perf","performance","$4f0bf18d6c99da3c$var$AC","AbortController","signal","AbortSignal","abort","aborted","$4f0bf18d6c99da3c$var$warned","Set","$4f0bf18d6c99da3c$var$deprecatedOption","opt","instead","$4f0bf18d6c99da3c$var$shouldWarn","$4f0bf18d6c99da3c$var$warn","$4f0bf18d6c99da3c$var$LRUCache","$4f0bf18d6c99da3c$var$deprecatedMethod","getOwnPropertyDescriptor","$4f0bf18d6c99da3c$var$emitWarning","emitWarning","what","add","$4f0bf18d6c99da3c$var$isPosInt","n","floor","isFinite","$4f0bf18d6c99da3c$var$getUintArray","$4f0bf18d6c99da3c$var$ZeroArray","Uint32Array","Uint16Array","fill","$4f0bf18d6c99da3c$var$Stack","UintArray","heap","ttl","ttlResolution","ttlAutopurge","updateAgeOnGet","updateAgeOnHas","allowStale","disposeAfter","noDisposeOnSet","noUpdateTTL","maxSize","sizeCalculation","fetchMethod","maxAge","stale","keyMap","keyList","valList","prev","tail","free","initialFill","disposed","initializeSizeTracking","initializeTTLTracking","getRemainingTTL","ttls","starts","setItemTTL","isStale","unref","updateItemAge","cachedNow","getNow","calculatedSize","sizes","removeItemSize","requireSize","addItemSize","evict","indexes","isValidIndex","rindexes","rentries","rkeys","rvalues","iterator","getOptions","thisp","rforEach","prune","purgeStale","deleted","dump","entry","unshift","load","reason","newIndex","oldVal","isBackgroundFetch","__abortController","moveToTail","peek","backgroundFetch","ac","fetchOpts","then","__staleWhileFetching","fetching","reset","field","$4f0bf18d6c99da3c$var$deprecatedProperty","maxSV","rangeObj","minSV","minver","setMin","comparator","compver","$52e25de88536d4d3$var$ANY","hilo","gtfn","ltefn","ltfn","ecomp","$c8FZS","high","low","$77bPN","r1","r2","ranges","simplified","$2478f50f5acc8298$var$ANY","$2478f50f5acc8298$var$simpleSubset","sub","dom","eqSet","gtltComp","higher","lower","hasDomLT","hasDomGT","$2478f50f5acc8298$var$higherGT","$2478f50f5acc8298$var$lowerLT","c1","needDomLTPre","needDomGTPre","c2","sawNonNull","OUTER","simpleSub","simpleDom","isSub","$joDHm","ii","$inTPA","randomBytes","$d625aee022f0dd91$var$byteToHex","$d625aee022f0dd91$var$i","$8da6c9556ccdcf3f$var$exec","commandLine","commandArgs","$8da6c9556ccdcf3f$var$tr","argStringToArray","ToolRunner","$8da6c9556ccdcf3f$var$__importStar","stdoutDecoder","$dLzlS$string_decoder","StringDecoder","stderrDecoder","originalStdoutListener","listeners","originalStdErrListener","_b","$a31d583cb10858c8$var$os","$a31d583cb10858c8$var$__importStar","$a31d583cb10858c8$var$events","$a31d583cb10858c8$var$child","$a31d583cb10858c8$var$path","$a31d583cb10858c8$var$io","$a31d583cb10858c8$var$ioUtil","$a31d583cb10858c8$var$IS_WINDOWS","_debug","_getCommandString","noPrefix","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","a1","_windowsQuoteCmdArg","a2","a3","_processLineBuffer","strBuffer","onLine","argline","_endsWith","str","endsWith","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","$a31d583cb10858c8$var$__awaiter","optionsNonNull","state","$a31d583cb10858c8$var$ExecState","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","argString","append","escaped","inQuotes","charAt","done","timeout","_setResult","$dLzlS$timers","HandleTimeout","clearTimeout","require","$95c5fc1c1b6165c5$var$addLocale","localeData","$95c5fc1c1b6165c5$var$locales","$95c5fc1c1b6165c5$var$pluralize","unit","config","unitTypeData","locale","lookupOrder","unitTypeLookupOrder","unitType","$95c5fc1c1b6165c5$var$getLocaleDataForUnitType","pluralize","$95c5fc1c1b6165c5$var$timeUnits","$95c5fc1c1b6165c5$var$defaultConfig","span","firstDate","secondDate","autoload","$3Zbea","localeId","$95c5fc1c1b6165c5$var$requireLocale","$95c5fc1c1b6165c5$var$ensureLocaleLoadedOrThrow","difference","results","divider","$95c5fc1c1b6165c5$var$getDifference","$95c5fc1c1b6165c5$var$format","variants","checkLocale","locales","hasLocale","$de644365a4a5582b$var$$parcel$__dirname","requireLocale","moduleDefinition","callable","numerous","node","$4ca03dc05bbe4be0$var$isWindows","OSTYPE","$4ca03dc05bbe4be0$var$COLON","TESTING_WINDOWS","$1d8d028d9c47b73d$exports","$4ca03dc05bbe4be0$var$getNotFoundError","$4ca03dc05bbe4be0$var$getPathInfo","colon","pathEnv","pathExtExe","$4ca03dc05bbe4be0$var$which","found","step","ppRaw","pathPart","pCmd","subStep","cur","ex","$e9929770d50e0ca3$var$pathKey","environment","$14642610717c66e2$export$ae50443ffc990749","$14642610717c66e2$export$6ea29ee575e3f5ff","$51d58653c6048ffd$exports","$14642610717c66e2$var$metaCharsRegExp","doubleEscapeMetaChars","$70842f99e7c30891$exports","$58ccbcc4db2ecd48$exports","argument","binary","$572e9b86f5fc3342$exports","buffer","fd","openSync","readSync","closeSync","$9cf15e4f01e764e1$var$isWin","$9cf15e4f01e764e1$var$isExecutableRegExp","$9cf15e4f01e764e1$var$isCmdShimRegExp","commandFile","shebang","$9cf15e4f01e764e1$var$detectShebang","needsShell","forceShell","needsDoubleEscapeMetaChars","normalize","shellCommand","comspec","$9cf15e4f01e764e1$var$parseNonShell","originalEmit","arg1","apply","$338cd3297632d74f$exports","spawnSync","verifyENOENTSync","_parse","_enoent","$98427f994073a8a3$exports","CR","$e076d46b8261c78a$var$npmRunPath","previous","execPath","cwdPath","execPathDir","$e076d46b8261c78a$exports","$2826e4518080138e$var$mimicFn","prop","Reflect","ownKeys","$2826e4518080138e$exports","$2a4addac1ccdeac1$var$calledFunctions","WeakMap","$2a4addac1ccdeac1$var$onetime","function_","returnValue","callCount","functionName","displayName","onetime","arguments_","throw","$2a4addac1ccdeac1$exports","$d078421bb3e3863b$exports","signalsByNumber","signalsByName","$7183a0a1bd319d48$exports","getSignals","standard","number","action","description","forced","getRealtimeSignals","SIGRTMAX","SIGRTMIN","getRealtimeSignal","$1d5ee7ec3cf727ea$var$SIGRTMAX","realtimeSignals","$1d5ee7ec3cf727ea$exports","SIGNALS","normalizeSignal","defaultNumber","signals","constantSignal","supported","signalByNameMemo","$d078421bb3e3863b$var$signalsByName","signalsA","signalA","findSignalByNumber","getSignalByNumber","getSignalsByNumber","$d078421bb3e3863b$var$signalsByNumber","$dd1b4f5e55037c97$exports","escapedCommand","timedOut","isCanceled","killed","signalDescription","$dd1b4f5e55037c97$require$signalsByName","errorCode","$dd1b4f5e55037c97$var$getErrorPrefix","execaMessage","isError","shortMessage","Boolean","originalMessage","failed","$9a6ccfc90813398a$var$aliases","$9a6ccfc90813398a$var$normalizeStdio","$9a6ccfc90813398a$var$hasAlias","$9a6ccfc90813398a$exports","$6a176bc6f7b604f3$var$process","$6a176bc6f7b604f3$var$processOk","reallyExit","kill","pid","$6a176bc6f7b604f3$var$emitter","$6a176bc6f7b604f3$var$assert","$6a176bc6f7b604f3$var$signals","$6a176bc6f7b604f3$var$isWin","$6a176bc6f7b604f3$var$EE","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","$6a176bc6f7b604f3$exports","equal","$6a176bc6f7b604f3$var$loaded","$6a176bc6f7b604f3$var$load","ev","alwaysLast","$6a176bc6f7b604f3$var$unload","sig","$6a176bc6f7b604f3$var$sigListeners","$6a176bc6f7b604f3$var$originalProcessEmit","$6a176bc6f7b604f3$var$originalProcessReallyExit","unload","$6a176bc6f7b604f3$var$emit","event","$6a176bc6f7b604f3$var$processEmit","$6a176bc6f7b604f3$var$processReallyExit","$2808df33d6c30b25$var$isSigterm","SIGTERM","$2808df33d6c30b25$exports","killResult","forceKillAfterTimeout","$2808df33d6c30b25$var$shouldForceKill","$2808df33d6c30b25$var$getForceKillAfterTimeout","$2808df33d6c30b25$var$setKillTimeout","context","killSignal","spawnedPromise","timeoutId","timeoutPromise","$2808df33d6c30b25$var$timeoutKill","safeSpawnedPromise","finally","race","cleanup","detached","timedPromise","removeExitHandler","spawnedKill","spawnedCancel","setupTimeout","validateTimeout","setExitHandler","$70a93fcbba5dfccf$var$isStream","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","$70a93fcbba5dfccf$exports","$dLzlS$buffer","$dLzlS$stream","PassThrough","array","isBuffer","objectMode","$2791e057b208c733$require$PassThroughStream","setEncoding","chunks","$3f8980e86d9447d4$require$promisify","pipeline","$3f8980e86d9447d4$exports","MaxBufferError","$093c506afc3bd46a$exports","sources","remove","bind","isEmpty","it","$093c506afc3bd46a$require$PassThrough","$695f2f6df63802a7$var$getBufferedData","streamPromise","$695f2f6df63802a7$var$getStreamPromise","$695f2f6df63802a7$exports","mixed","processDone","stdoutPromise","stderrPromise","allPromise","handleInput","getSpawnedResult","makeAllStream","validateInputSync","$183dab226baf544c$var$nativePromisePrototype","$183dab226baf544c$var$descriptors","property","$183dab226baf544c$exports","promise","descriptor","mergePromise","getSpawnedPromise","$b6e06bcb542f40f3$var$normalizeArgs","$b6e06bcb542f40f3$var$NO_ESCAPE_REGEXP","$b6e06bcb542f40f3$var$DOUBLE_QUOTES_REGEXP","$b6e06bcb542f40f3$var$SPACES_REGEXP","$b6e06bcb542f40f3$exports","$b6e06bcb542f40f3$var$escapeArg","previousToken","joinCommand","parseCommand","getEscapedCommand","$c3e9e2f843627429$var$handleArguments","stripFinalNewline","preferLocal","localDir","windowsHide","envOption","$c3e9e2f843627429$var$getEnv","$c3e9e2f843627429$var$handleOutput","$c3e9e2f843627429$var$execa","$c3e9e2f843627429$require$joinCommand","$c3e9e2f843627429$require$getEscapedCommand","$c3e9e2f843627429$require$validateTimeout","dummySpawned","ChildProcess","errorPromise","$c3e9e2f843627429$require$mergePromise","$c3e9e2f843627429$require$getSpawnedPromise","$c3e9e2f843627429$require$setupTimeout","$c3e9e2f843627429$require$setExitHandler","$c3e9e2f843627429$require$spawnedKill","cancel","$c3e9e2f843627429$require$spawnedCancel","handlePromiseOnce","stdoutResult","stderrResult","allResult","$c3e9e2f843627429$require$getSpawnedResult","returnedError","$c3e9e2f843627429$require$handleInput","$c3e9e2f843627429$require$makeAllStream","$c3e9e2f843627429$require$validateInputSync","error1","$c3e9e2f843627429$require$parseCommand","scriptPath","defaultExecArgv","execArgv","nodePath","nodeOptions","$a7308743a0157ada$var$homeDirectory","homedir","pathWithTilde","$892cf68de9d02605$var$is_posix_os","$892cf68de9d02605$var$version","$892cf68de9d02605$var$windows_version_regex","given_path","major_release","os_build","$892cf68de9d02605$var$should_not_escape","$2032c186687979ea$var$__importStar","$2032c186687979ea$var$mm","$2032c186687979ea$var$httpm","$2032c186687979ea$var$stream","$2032c186687979ea$var$util","$2032c186687979ea$var$__importDefault","$a3103f5469ee5040$var$core","$a3103f5469ee5040$var$__importStar","$a3103f5469ee5040$exports","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","isRetryable","attempt","seconds","getSleepAmount","sleep","$2032c186687979ea$var$HTTPError","httpStatusCode","HTTPError","$2032c186687979ea$var$IS_WINDOWS","$2032c186687979ea$var$IS_MAC","auth","retryHelper","$2032c186687979ea$var$__awaiter","http","authorization","statusMessage","readStream","responseMessageFactory","succeeded","createWriteStream","$2032c186687979ea$var$downloadToolAttempt","extract7z","_7zPath","originalCwd","args1","$2032c186687979ea$var$$parcel$__dirname","options1","powershellPath","versionOutput","isGnuTar","destArg","fileArg","extractXar","xarPath","extractZip","escapedFile","escapedDest","pwshPath","$2032c186687979ea$var$extractZipWin","unzipPath","$2032c186687979ea$var$extractZipNix","destPath","itemName","cacheFile","sourceFile","targetFile","destFolder","cachePath","findAllVersions","getManifestFromRepo","owner","branch","releases","treeUrl","manifestUrl","tree","versionsRaw","findFromManifest","manifest","isExplicitVersion","evaluateVersions","isUrl","trimmedUrl","$dLzlS$url","$916a385c4d46b771$export$8092cb61b2731942","llvm","clangtidy","clangformat","ninja","gcovr","conan","meson","kcov","task","doxygen","gcc","nala","specific","$dcc4a5600f9a2a29$var$__importStar","$c10add6f7657d058$exports","$dcc4a5600f9a2a29$var$escapeData","$ffb53a3661600710$var$fs","$ffb53a3661600710$var$__importStar","$ffb53a3661600710$var$os","$ffb53a3661600710$exports","$d2814cb4b08c0425$var$os","$d2814cb4b08c0425$var$__importStar","$d2814cb4b08c0425$var$path","$d2814cb4b08c0425$var$ExitCode","$dLzlS$process","$44e2ea7eee739a17$var$VSWHERE_PATH","arch_aliases","win32","win64","x86_64","vcvars","cmd_output_parts","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","string1","name1","new_value","long","one","months","weeks","days","hours","minutes","narrow","short","abs","exe","reDistributor","reDescription","reRelease","distributorFound","desc","rel","m1","ss","$af664557d133c197$var$binDir","$2c1dbb6d966096c4$var$hasVCPKG","python","vcpkg","addShExt","addShRelativePrefix","bazel","opencppcoverage","$e72e2baab3c48b0e$var$activateOpencppcoverage","choco","brew","ubuntuVerSplitted","ccache","$9f276bb1312a9d71$var$activateWinDoxygen","graphviz","cppcheck","$3b5b7f21aafe5be9$var$activateWinCppcheck","msvc","vcvarsall","versionSplit","installMethod","version_number","make","sevenzip","argv"],"version":3,"file":"setup_cpp.js.map","sourceRoot":"../"} \ No newline at end of file diff --git a/src/llvm/llvm.ts b/src/llvm/llvm.ts index 77da819b..b8db93e3 100644 --- a/src/llvm/llvm.ts +++ b/src/llvm/llvm.ts @@ -1,4 +1,5 @@ -import { join, delimiter, addExeExt } from "patha" +import { join, addExeExt } from "patha" +import { delimiter } from "path" import semverLte from "semver/functions/lte" import semverMajor from "semver/functions/major" import { isUrlOnline } from "is-url-online" diff --git a/src/utils/env/addEnv.ts b/src/utils/env/addEnv.ts index 5edc9ce7..00fa6530 100644 --- a/src/utils/env/addEnv.ts +++ b/src/utils/env/addEnv.ts @@ -4,7 +4,7 @@ import { untildifyUser } from "untildify-user" import { appendFileSync, existsSync, readFileSync } from "fs" import { error, warning } from "ci-log" import { execPowershell } from "exec-powershell" -import { delimiter } from "patha" +import { delimiter } from "path" import escapeSpace from "escape-path-with-spaces" /**