functione(e){returne&&e.__esModule?e.default:e}functiont(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}functionr(e,t,r){constn=newJe(e,t,r);process.stdout.write(""+n+ze.EOL)}functionn(e,t){constr=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throwError("Input required and not supplied: "+e);returnt&&!1===t.trimWhitespace?r:r.trim()}functiono(e,t={}){qe.issueCommand("error",Ke.toCommandProperties(t),einstanceofError?""+e:e)}functions(e){qe.issue("group",e)}functioni(){qe.issue("endgroup")}functiona(e,t,r){if("function"==typeoft&&(r=t,t={}),!r){if("function"!=typeofPromise)thrownewTypeError("callback not provided");returnnewPromise(((r,n)=>{a(e,t||{},((e,t)=>{e?n(e):r(t)}))}))}vt(e,t||{},((e,n)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n)}))}functionc(t,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeofbt)return{binDir:bt};consto=e(ht).sync("brew",{nothrow:!0});returnnull!==o?(bt=we.dirname(o),{binDir:bt}):($e.execFileSync('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),bt="/usr/local/bin/",{binDir:bt})}functionl(e,t){constr=e.options.env||process.env,n=process.cwd(),o=null!=e.options.cwd,s=o&&void0!==process.chdir&&!process.chdir.disabled;if(s)try{process.chdir(e.options.cwd)}catch(e){}leti;try{i=ht.sync(e.command,{path:r[_t({env:r})],pathExt:t?we.delimiter:void0})}catch(e){}finally{s&&process.chdir(n)}returni&&(i=we.resolve(o?e.options.cwd:"",i)),i}functionu(e,t){returnObject.assign(Error(`${t}${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t}${e.command}`,path:e.command,spawnargs:e.args})}functionp(e,t){returnjt&&1===e&&!t.file?u(t.original,"spawn"):null}functiond(e,t,r){constn=Ot(e,t,r),o=$e.spawn(n.command,n.args,n.options);returnDt.hookChildProcess(o,n),o}functionh(){fr&&(fr=!1,ur.forEach((e=>{try{process.removeListener(e,hr[e])}catch(e){}})),process.emit=vr,process.reallyExit=mr,lr.count-=1)}functionf(e,t,r){lr.emitted[e]||(lr.emitted[e]=!0,lr.emit(e,t,r))}functionm(){fr||(fr=!0,lr.count+=1,ur=ur.filter((e=>{try{returnprocess.on(e,hr[e]),!0}catch(e){return!1}})),process.emit=g,process.reallyExit=v)}functionv(e){process.exitCode=e||0,f("exit",process.exitCode,null),f("afterexit",process.exitCode,null),mr.call(process,process.exitCode)}functiong(e,t){if("exit"===e){void0!==t&&(process.exitCode=t);varr=vr.apply(this,arguments);returnf("exit",process.exitCode,null),f("afterexit",process.exitCode,null),r}returnvr.apply(this,arguments)}asyncfunctiony(e,t){if(!e)throwError("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,n=_r(t);returnawaitnewPromise(((t,o)=>{consts=e=>{e&&n.getBufferedLength()<=Tr.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),o(e)};(async()=>{try{awaitIr(e,n),t()}catch(e){s(e)}})(),n.on("data",(()=>{n.getBufferedLength()>r&&s(newAr)}))})),n.getBufferedValue()}functionx(t,r,n){returnvoid0!==en||(en=(!!process.env.CI||0===(null===(o=process.getuid)||void0===o?void0:o.call(process)))&&null!==e(ht).sync("sudo",{nothrow:!0})),en?e(St).command("sudo "+[t,...r].map((e=>`'${e}'`)).join(" "),{shell:!0,cwd:n}):e(St)(t,r);varo}asyncfunctionw(e,t,r=!0){constn="apt-get";if(Array.isArray(r))for(consteofr)awaitx("add-apt-repository",["--update","-y",e]);if(tn&&!0!==r||(awaitx(n,["update","-y"]),tn=!0),void0!==t&&""!==t)try{awaitx(n,["install","--fix-broken","-y",`${e}=${t}`])}catch{awaitx(n,["install","--fix-broken","-y",`${e}-${t}`])}elseawaitx(n,["install","--fix-broken","-y",e]);return{binDir:"/usr/bin/"}}functionb(t,r){returnrn&&null!==e(ht).sync("brew",{nothrow:!0})||(c(0,0,process),rn=!0),e(St).sync("brew",["install",void0!==r&&""!==r?`${t}@${r}`:t]),{binDir:"/usr/local/bin/"}}functionE(){return"true"===process.env.CI&&"true"==process.env.GITHUB_ACTIONS}functionS(e){try{E()?Ge.addPath(e):P(e)}catch(t){try{returnGe.error(t),P(e)}catch(e){Ge.error(e)}Ge.error(`Failed to add ${e} to the percistent PATH. You shou