functione(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}functiont(e){returne&&e.__esModule?e.default:e}functionr(e,t,r){returnht(this,void0,void0,(function*(){constn=ft.argStringToArray(e);if(0===n.length)throwError("Parameter 'commandLine' cannot be null or empty.");consto=n[0];returnt=n.slice(1).concat(t||[]),newft.ToolRunner(o,t,r).exec()}))}functionn(e,t){constr=[];t=t||rt.arch();constn=nt.join(l(),e);if(et.existsSync(n)){conste=et.readdirSync(n);for(constoofe)if(a(o)){conste=nt.join(n,o,t||"");et.existsSync(e)&&et.existsSync(e+".complete")&&r.push(o)}}returnr}functiono(e){returnJe(this,void0,void0,(function*(){returne||(e=nt.join(u(),ct.default())),yieldQe.mkdirP(e),e}))}functioni(e,t,r){returnJe(this,void0,void0,(function*(){constn=nt.join(l(),e,it.clean(t)||t,r||"");Ze.debug("destination "+n);consto=n+".complete";returnyieldQe.rmRF(n),yieldQe.rmRF(o),yieldQe.mkdirP(n),n}))}functions(e,t,r){constn=nt.join(l(),e,it.clean(t)||t,r||"");et.writeFileSync(n+".complete",""),Ze.debug("finished caching tool")}functiona(e){constt=it.clean(e)||"";Ze.debug("isExplicit: "+t);constr=null!=it.valid(t);returnZe.debug("explicit? "+r),r}functionc(e,t){letr="";Ze.debug(`evaluating ${e.length} versions`);for(letn=(e=e.sort(((e,t)=>it.gt(e,t)?1:-1))).length-1;n>=0;n--){consto=e[n];if(it.satisfies(o,t)){r=o;break}}returnZe.debug(r?"matched: "+r:"match not found"),r}functionl(){conste=process.env.RUNNER_TOOL_CACHE||"";returnNe.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}functionu(){conste=process.env.RUNNER_TEMP||"";returnNe.ok(e,"Expected RUNNER_TEMP to be defined"),e}functionp(e,t){constr=qe[e];returnvoid0!==r?r:t}functiond(){return"true"===process.env.CI&&"true"===process.env.GITHUB_ACTIONS}functionh(e){returnd()?Pt.error(e):console.log(`[31m${e}[0m`)}functionf(e){returnd()?Pt.warning(e):console.log(`[33m${e}[0m`)}functionm(e,t,r){if("function"==typeoft&&(r=t,t={}),!r){if("function"!=typeofPromise)thrownewTypeError("callback not provided");returnnewPromise(((r,n)=>{m(e,t||{},((e,t)=>{e?n(e):r(t)}))}))}It(e,t||{},((e,n)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n)}))}functionv(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeofNt)return{binDir:Nt};consto=t(Ot).sync("brew",{nothrow:!0});returnnull!==o?(Nt=$e.dirname(o),{binDir:Nt}):(De.execFileSync('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),Nt="/usr/local/bin/",{binDir:Nt})}functiong(e,t){constr=e.options.env||process.env,n=process.cwd(),o=null!=e.options.cwd,i=o&&void0!==process.chdir&&!process.chdir.disabled;if(i)try{process.chdir(e.options.cwd)}catch(e){}lets;try{s=Ot.sync(e.command,{path:r[Ft({env:r})],pathExt:t?$e.delimiter:void0})}catch(e){}finally{i&&process.chdir(n)}returns&&(s=$e.resolve(o?e.options.cwd:"",s)),s}functiony(e,t){returnObject.assign(Error(`${t}${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t}${e.command}`,path:e.command,spawnargs:e.args})}functionx(e,t){returnzt&&1===e&&!t.file?y(t.original,"spawn"):null}functionw(e,t,r){constn=jt(e,t,r),o=De.spawn(n.command,n.args,n.options);returnXt.hookChildProcess(o,n),o}asyncfunctionb(e,t){if(!e)throwError("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,n=Br(t);returnawaitnewPromise(((t,o)=>{consti=e=>{e&&n.getBufferedLength()<=Xr.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),o(e)};(async()=>{try{awaitYr(e,n),t()}catch(e){i(e)}})(),n.on("data",(()=>{n.getBufferedLength()>r&&i(newJr)}))})),n.getBufferedValue()}functionE(){vare;returnvoid0!==wn||(wn=(!!process.env.CI||0===(null===(e=process.getuid)||void0===e?void0:e.call(process)))&&null!==t(Ot).sync("sudo",{nothrow:!0})),wn}functionS(e,r,n){returnE()?t(Dt).command("sudo "+[e,...r].map((e=>`'${e}'`)).join(" "),{shell:!0,cwd:n,stdio:"inherit"}):t(Dt)(e,r,{stdio:"inherit"})}asyncfunctionP(e,t,r=!0){Pt.info(`Installing ${e}${null!=t?t:""} via apt`);constn="apt-get";